Scratch for Java

Operators::sqrtOf()

"sqrt" is an abbreviation for "square root." A number that is squared is multiplied by itself. For example, when 2 is squared, the answer is 2×2, which is 4. When a number is square rooted, the answer is the number that was squared to get it. So, the square root of 4 is 2. Similarly, the square root of 2 is about 1.414213562373095 because 1.4142135623730952 (1.414213562373095\u202f×\u202f1.414213562373095) is close to 2.

Syntax

Java

.sqrtOf(x)

Parameters

Name Data Type Description
x double a value

Return

double

sqrtOf()