Difference between revisions of "Sqrt"

From Mesham
Jump to navigationJump to search
(Created page with '== Overview == This sqrt[n] function will return the result of square rooting ''n''. * '''Pass:''' An integer to find square root of * '''Returns:''' A double which is the squa…')
 
Line 1: Line 1:
 
== Overview ==
 
== Overview ==
  
This sqrt[n] function will return the result of square rooting ''n''.
+
This sqrt(d) function will return the result of square rooting ''d''.
  
* '''Pass:''' An integer to find square root of
+
* '''Pass:''' An double to find square root of
 
* '''Returns:''' A double which is the square root
 
* '''Returns:''' A double which is the square root
  
 
== Example ==
 
== Example ==
  
  var a:=sqrt[8];
+
#include <maths>
 +
  var a:=sqrt(8.3);
  
 
[[Category:Function Library]]
 
[[Category:Function Library]]
 
[[Category:Maths Functions]]
 
[[Category:Maths Functions]]

Revision as of 12:56, 13 January 2013

Overview

This sqrt(d) function will return the result of square rooting d.

  • Pass: An double to find square root of
  • Returns: A double which is the square root

Example

#include <maths>
var a:=sqrt(8.3);