sqrt() \ Language (API) \ Wiring ALPHA 1.0
Author: Hernando Barragán
Description: Wiring is an electronic sketchbook and hardware electronics for developing ideas. It is a context for learning fundamentals of computer programming and prototyping with electronics within the context of the electronic arts.
Keywords: Wiring, Processing, Interactive Media, Electronic Arts, Programming, C, C++, Hernando Barragán

Search wiring.org.co:

Reference for Wiring version 0023+. If you have a previous version, use the reference included with your software. If you see any errors or have any comments, let us know.

Name | ### sqrt()
Examples |
    float a = sqrt(6561);  // Sets a to 81
    float b = sqrt(625);   // Sets b to 25
    float c = sqrt(1);     // Sets c to 1
Description | Calculates the square root of a number. The square root of a number is always positive, even though there may be a valid negative root. The square root s of number a is such that s*s = a. It is the opposite of squaring.
Syntax |
    sqrt(value)
Parameters |
value | int or float: non-negative number
Returns | float
Usage | Application
Related | pow() sq()

Updated on November 01, 2009 11:47:16pm PST