Maximum area of rectangle inscribed in an equilateral triangle | Function to find the maximum area of the rectangle inscribed in an equilateral triangle of side S ; Maximum area of the rectangle inscribed in an equilateral triangle of side S ; Driver Code
function solve ( s ) { let area = ( 1.732 * Math . pow ( s , 2 ) ) / 8 ; return area ; } let n = 14 ; document . write ( solve ( n ) ) ;