sqrt

A function that can be used in Formulas.

Syntax and semantics

sqrt (x)
take the square root of x.
    assert sqrt (0) = 0
    assert sqrt (1) = 1
    assert sqrt (4) = 2
    assert sqrt (9) = 3
    assert (sqrt (2) - 1.41421356237309504880168872420969807856967187537694807317667973799) < 1e-17

Links to this page


© Paul Boersma 2023