Using the Math package (in different programming languages) method sqrt to calculate the square root of a value.