Write the equivalent Java expression
Attachments:
Answers
Answered by
4
- a = ( m + n ) / m¹² + n⁴
- In this question we would be only using the Math.pow method because m is raised to the power 12 and n is raised to the power 4.
- 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.max gives largest of two arguments
- Math.min gives smallest of two arguments.
Similar questions