What will be the output of Math.sqrt(-4.0)
Answers
Answered by
0
Explanation:
The Math.sqrt() function returns the square root of a number, that is
∀x≥0,Math.sqrt(x)=x
=the uniquey≥0such thaty2=x
Answered by
1
Answer:
var a = Math.sqrt(0);
var b = Math.sqrt(1);
var c = Math.sqrt(9);
var d = Math.sqrt(64);
var e = Math.sqrt(-9);
Try it Yourself »
Similar questions
Math,
2 months ago
Math,
2 months ago
Computer Science,
2 months ago
Math,
10 months ago
Math,
10 months ago