Math.ceil(math.cbrt(64)+math.round(6.5))
Answers
Hope it helps ^_^
Please mark my answer as Brainliest :)
Answer:
11
Explanation:
You would have meant this Math.ceil(Math.cbrt(64)+Math.round(6.5));
ceil means ceiling. The smallest integer that is greater than or equal to the given number is called its ceiling.
We can assume this as:
Ceiling of() + Round off(6.5)
= Ceiling of(4) + 7
= 4 + 7
= 11 Ans.
Question:-
Math.ceil(Math.cbrt(64) + Math.round(6.5))
Answer:-
Math Operator(s) used :-
i) Math.ceil() : Math.ceil() returns the double
value that is greater than or equal
to the argument and is equal to
the nearest mathematical integer. Return Type - Double
ii) Math.cbrt() : The java.lang.Math.cbrt () is
used to return the cube root of a
number. Return Type - Double
iii) Math.round() : The Math.round() method rounds
a float or double to the nearest
integer using normal math round
rules (either up or down). Return Type - Integer
So,
Mathematically
Math.ceil(Math.cbrt(64) + Math.round(6.5)) :
Math.round(6.5) = 7
Math.cbrt(64) = 4.0
Now,
Math.ceil(Math.cbrt(64) + Math.round(6.5)) :
Math.ceil(4.0 + 7)
Math.ceil(11.0)
•°• Math.ceil(Math.cbrt(64) + Math.round(6.5)) : 11.0