Solved

Which Is the Java Equivalent of the Following Mathematical Expression

Question 9

Multiple Choice

Which is the Java equivalent of the following mathematical expression? Which is the Java equivalent of the following mathematical expression?    A) c = (Math.sqrt(a)  + Math.sqrt(b) )  * 2; B) c = Math.sqrt(a * 2)  + Math.sqrt(b * 2) ; C) c = Math.sqrt(Math.pow(a, 2)  + Math.pow(b, 2) ) ; D) c = Math.pow((Math.sqrt(a)  + Math.sqrt(b) ) , 2) ;


A) c = (Math.sqrt(a) + Math.sqrt(b) ) * 2;
B) c = Math.sqrt(a * 2) + Math.sqrt(b * 2) ;
C) c = Math.sqrt(Math.pow(a, 2) + Math.pow(b, 2) ) ;
D) c = Math.pow((Math.sqrt(a) + Math.sqrt(b) ) , 2) ;

Correct Answer:

verifed

Verified

Unlock this answer now
Get Access to more Verified Answers free of charge

Related Questions