Program for Surface Area of Octahedron | utility Function ; Driver Code
< ? php function surface_area_octahedron ( $ side ) { return ( 2 * ( sqrt ( 3 ) ) * ( $ side * $ side ) ) ; } $ side = 7 ; echo ( " Surface ▁ area ▁ of ▁ octahedron ▁ = " ) ; echo ( surface_area_octahedron ( $ side ) ) ; ? >