Program to find the Area and Volume of Icosahedron | Function to find area of Icosahedron ; Formula to calculating area ; Function to find volume of Icosahedron ; Formula to calculating volume ; Driver Code ; Function call to find area of Icosahedron . ; Function call to find volume of Icosahedron .
function findArea ( a ) { let area ; area = 5 * Math . sqrt ( 3 ) * a * a ; return area ; } function findVolume ( a ) { let volume ; volume = ( 5 / 12 ) * ( 3 + Math . sqrt ( 5 ) ) * a * a * a ; return volume ; } let a = 5 ; document . write ( " " + findArea ( a ) . toFixed ( 3 ) + " " ) ; document . write ( " " + findVolume ( a ) . toFixed ( 3 ) ) ;