ICSE Class 9 Computer Applications
Question 3 of 16
Mathematical Library Methods — Question 3
Back to all questions 3
Question Question 3
Write the following as Java expressions:
i.
Math.abs(Math.pow(x, 3) - Math.pow(y, 2) - 2*x*y)
ii.
Math.PI / 6*(Math.pow(z, 4) - 2*Math.PI)
iii.
Math.cbrt(z*z - Math.PI)
iv.
Math.pow(x*x*x - y*y*y, 1/4)
v.
(amount*rate) / (1 - (1 / Math.pow(1+rate, n)))