ICSE Class 10 Computer Applications Question 27 of 76

Revising Basic Java Concepts — Question 31

Back to all questions
31
Question

Question 15(a)

Write the following as Java expressions.

a2b2\sqrt{\text{a}^2 - \text{b}^2}

Answer

Math.sqrt(Math.pow(a,2) - Math.pow(b,2))