Solved

Which Is the Java Equivalent of the Following Mathematical Expression

Question 110

Multiple Choice

Which is the Java equivalent of the following mathematical expression? c = √(a2 + b2)


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

Correct Answer:

verifed

Verified

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

Related Questions