![]() Suppose we have below details of the triangular prism Length(l) is 8, width(b) is 6 and height(h) is 7 Hence, the volume of the rectangular prism is 320.625 Instance-3 Then by using volume formula of rectangular prism Volume = 320.625 Length(l) is 4.5, width(b) is 7.5 and height(h) is 9.5 ![]() ![]() Suppose we have below details of the rectangular prism. Hence, the volume of the rectangular prism is 480.0 Instance-2 Then by using volume formula of triangular prism Volume = 480.0 Length(l) is 12, width(b) is 10 and height(h) is 8 Suppose we have below details of the triangular prism. In this article we will see how we can find the volume of the triangular and rectangular prism in Java. We can calculate the volume of the prism by using length, width and height of the prismįormula to calculate volume of triangular prism − Volume = 1/2 x length x width x heightįormula to calculate volume of rectangular prism − Volume = length x width x height Volume of the prism refers to the space/region acquired by the prism. Other types of prisms are also available like pentagonal prism, square prism and hexagonal prism etc. Similarly, when the base of a prism is rectangular in shape it is called a rectangular prism. When the base of the prism is triangular in shape that prism is called a triangular prism. All lateral faces are also identical to each other which belong to the class of parallelograms. Both top and bottom faces are called bases which are identical to each other. A prism has 2 faces, the first one top and bottom face and second one is lateral faces. A prism refers to a three−dimensional solid object which has two identical ends.
0 Comments
Leave a Reply. |