write a java program to Design
a class called Result witha
method
calculate to accept the values a
b. Print the values of
x and
Y where a = - √a²+b7 and y=
and
a²+ b5/2a using mathematical methods in java
Answers
Answered by
1
abs() : java.math.abs() method returns the absolute value of any type of argument passed. This method can handle all the data types.
Special Case :
Result is positive zero, if the argument is positive zero or negative zero.
Result is positive infinity, if the argument is infinite.
Result is NaN, if passed argument is NaN
Similar questions