ICSE Class 10 Computer Applications Question 28 of 76

Revising Basic Java Concepts — Question 32

Back to all questions
32
Question

Question 15(b)

Write the following as Java expressions.

π(x6 - y6)

Answer

Math.PI * (Math.pow(x,6) - Math.pow(y,6))