please answer this :D
Attachments:
Answers
Answered by
2
Question:-
Find the value of the following expressions.
Solution:-
Math.sqrt(Math.max(9,16))
=Math.sqrt(16)
=4.0
Math.floor(-8.5)
= -9.0
Answered by
1
Answer:
a)Math.sqrt(Math.max(9,16));
//Maximum no. is 16
So Math.sqrt(16)=4
b)Math.floor(-8.5);
//it will moves the no. upto next smaller integer that is 9
So output will be 9
Similar questions
Science,
3 months ago
Social Sciences,
3 months ago
English,
7 months ago
Hindi,
7 months ago
English,
1 year ago