Calculate Volume of Dodecahedron | utility Function ; Driver Function
< ? php function vol_of_dodecahedron ( $ side ) { return ( ( ( 15 + ( 7 * ( sqrt ( 5 ) ) ) ) / 4 ) * ( pow ( $ side , 3 ) ) ) ; } $ side = 4 ; echo ( " Volume ▁ of ▁ dodecahedron ▁ = ▁ " ) ; echo ( vol_of_dodecahedron ( $ side ) ) ; ? >