Predict the output if x=4.0,find Math.sqrt(x)
Answers
Answered by
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
History,
1 month ago
Math,
1 month ago
Physics,
2 months ago
Chemistry,
2 months ago
India Languages,
9 months ago
Math,
9 months ago
India Languages,
9 months ago