Computer Science, asked by sanskritigupta607, 2 months ago

Predict the output if x=4.0,find Math.sqrt(x)​

Answers

Answered by ORMmaster
1

Answer:

the usual equation.

y^2 = 4.0

y=2.0

Explanation:

as math.sqrt() is used to obtain the square root of a given number (int or float).

it is 2.0 as you have used the datatype as float(you don't but by default it is).

Similar questions