October 2005
Intermediate to advanced
372 pages
11h 35m
English
sqrt()
float sqrt ( float num )
To obtain the square root of a number, use the sqrt() function
, which takes
as its parameter the value you wish to calculate the square root of:
print sqrt(25);
print sqrt(26);That will output 5 as the result of line one, then 5.0990195135928 for line two.