sqrt

Returns the square root of the specified number.

Syntax

sqrt(x)

Parameters

Parameter

Type

Description

x

number

Numeric value (should be non-negative)

Return

Returns the square root of x.

Examples

Python

import math
y = math.sqrt(2)

NexScript

y = sqrt(2)