What is Math.sqrt and Math.pow in java ?
Answers
Answered by
1
Answer:
pow() method. The Math. pow(double a) method accepts one argument of the double data type and returns a value which is the square root of the argument. Declaration − The java.lang.Math.sqrt() method is declared as follows − public static double sqrt(double a) where a is the number whose square root is to be found.
Explanation:
mark me as brainlist plz...
Answered by
1
pow() method. The Math. pow(double a) method accepts one argument of the double data type and returns a value which is the square root of the argument. Declaration − The java.lang.Math.sqrt() method is declared as follows − public static double sqrt(double a) where a is the number whose square root is to be found.
Similar questions