Write the Java expression for- | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

Write the Java expression for-

a) √( 2x^3 )/ (3 y^4) b) z=((a+b) ^3 *(a-b)^3 )/ 2ab

10th Sep 2019, 5:02 PM
Dinesh Kumar
Dinesh Kumar - avatar
1 Answer
+ 2
Import java.math*; Int x; Int y; System.out.println(Math.sqrt((2*Math.pow(x,3)/3*Math pow(y,4)))); Just initialize x and y to not getting an error
10th Sep 2019, 5:10 PM
KfirWe
KfirWe - avatar