A prism that has 5 rectangular faces and 2 parallel pentagonal bases is a pentagonal prism. So friend are given the apothem length(a), basic length(b) and height(h) of the pentagonal prism. You have to discover the surface area and also the volume the the Pentagonal Prism.

You are watching: How to find the area of a pentagonal prism

Examples:Input : a=3, b=5, h=6Output :surface area=225, volume=225Input : a=2, b=3, h=5Output :surface area=105, volume=75
Attention reader! all those that say programming isn"t for kids, simply haven"t met the ideal mentors yet. Join theDemo class for first Step to Coding Course,specificallydesigned because that students of class 8 to 12.The college student will get to learn an ext about the people of programming in thesefree classes which will definitely aid them in do a way career selection in the future.


In this figure,a– apothem length of the Pentagonal Prism.b– base size of the Pentagonal Prism.

See more: I Heard That Our School Is Getting A New Mascot For Pocatello High School

h– height of the Pentagonal Prism.Formulas:Below room the formulas because that calculating the surface area and also the volume that the Pythagonal Prism. $$ surface Area(A)= 5	imes a	imes b + 5	imes b	imes h $$ $$ Volume(v)= frac52	imes b	imes h $$
https://media.benidormclubdeportivo.org/auth/avatar.png
DSA Live class for functioning Professionals
Competitive Programming Live Classes for Students
Complete Interview preparation Course
Number of rectangles in N*M gridProgram because that distance in between two points on earthLine trimming | collection 1 (Cohen–Sutherland Algorithm)Convex Hull | set 1 (Jarvis"s Algorithm or Wrapping)Convex Hull | set 2 (Graham Scan)
Python DictionaryArrays in C/C++Inheritance in C++Reverse a cable in JavaObject Oriented Programming in C++
We use cookies come ensure you have the best browsing endure on our website. By making use of our site, youacknowledge that you have read and also understood ourCookie policy & Privacy PolicyGot it !