Write the java expression for the following:
a) z= x3 +y3 – xy/z
b) y=2(lb+bh+lh) where l=length, b=breadth, h=height
Answers
Answered by
1
Explanation:
1
Consider a cuboid ABCDEFGH whose length is 'l', breadth is 'b' and height is 'h'.
The area of face ABCD(yellow) is x = lb
The area of face BCFG(blue) is y = bh
The area of face ABGH(pink) is z = lh
The volume of a cuboid is V = lbh
The product of the areas of the three faces = xyz = lb * bh * lh = l
2
b
2
h
2
=V
2
.
Similar questions