THee is a lab I am working on for Java Programming and I am kind of in a pinch. I have got everything else down for this lab except for the following:
Volume of a pentagon prism = 5(𝑝𝑒𝑛𝑡𝑎𝑔𝑜𝑛𝑆𝑖𝑑𝑒2 )/ 4(tan( 𝜋 5 )) x prismHeight
Volume of a regular pentagon pyramid = 1/24 (5 + √5) 𝑝𝑒𝑛𝑡𝑎𝑔𝑜𝑛𝑆𝑖𝑑𝑒 3
Any hints on as to write it to calculate these out? Or any sites that would have some good tutorials on doing so?
Volume of a pentagon prism = 5(𝑝𝑒𝑛𝑡𝑎𝑔𝑜𝑛𝑆𝑖𝑑𝑒2 )/ 4(tan( 𝜋 5 )) x prismHeight
Volume of a regular pentagon pyramid = 1/24 (5 + √5) 𝑝𝑒𝑛𝑡𝑎𝑔𝑜𝑛𝑆𝑖𝑑𝑒 3
Any hints on as to write it to calculate these out? Or any sites that would have some good tutorials on doing so?