Solved

Which Is the Java Equivalent of the Following Mathematical Expression

Question 27

Multiple Choice

Which is the Java equivalent of the following mathematical expression?
C = (√a + √b) 2


A) c = Math.sqrt(a * 2 + b * 2) ;
B) c = Math.sqrt(a * 2) + Math.sqrt(b * 2) ;
C) c = Math.sqrt(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