write the java expression for
Attachments:
Answers
Answered by
3
Answered by
3
- Here we would be only using Math.cbrt method because of the cube root.
- Method is a named block of a códe in a class. It is executed within a defined set of instructions.
- Methods and variables of math class are defined as static members.
- Java.lang package contains classes and interfaces which are fundamental to Java programming language.
- The math class of java.lang package contains generic mathematical functions including some geometric and trigonometric function.
- Math.ceil returns smallest integer which is greater or equal to the argument.
- Math.abs returns us the absolute value of a given argument.
- Math.pow it returns us the value of a first given argument raised to the power of the given second argument.
- Double datatype is used if a output comes in decimal.
Similar questions