The return value of Math.cbrt(Math.abs(-216)) is .
Answers
Answered by
2
Parameters: This method accepts a single parameter as mentioned above and described below:
x: This parameter is a simply a number whose cube root need to be find.
Returns: It returns the cube root of the given number.
Below example illustrate the cbrt() method in JavaScript:
Example: Here cube root of 8 is calculated to 2 because when any 3 times repeated any number is present inside of the cube root then only one number is taken out as the value of the cube root.
∛8
= ∛2*2*2
= 2
Similar questions