2. Write the following as Java expressions.
(a) root a2 - b2
(b) π(x6 - y6)
(c)4/3πr3
(d)|z4 -1|
Answers
Answered by
40
Answer:
Mark as branliest
a)Math.sqrt(Math.pow(a,2)-Math.pow(b,2));
b)Math.pi(Math.pow(x,6)-Math.pow(y,6));
c)(4.0/3.0)*(22.0/7.0)*(Math.pow(r,3));
Answered by
20
Explanation:
Math.sqrt(a*a - b*b)
Math. pi(Math.pow(x,6) - Math.pow(y,6))
(4.0/3.0)*(22.0/7.0)*(Math.pow(r,3))
Math.abs(z*z*z*z - 1)
Similar questions
Social Sciences,
5 months ago
Math,
5 months ago
History,
5 months ago
Chemistry,
9 months ago
Political Science,
9 months ago
English,
1 year ago
Biology,
1 year ago
Math,
1 year ago