Area of circle which is inscribed in equilateral triangle | javascript program to find the area of circle which is inscribed in equilateral triangle ; Function return the area of circle inscribed in equilateral triangle ; Driver code
let PI = 3.14 ; function circle_inscribed ( a ) { return PI * ( a * a ) / 12 ; } let a = 4 ; document . write ( circle_inscribed ( a ) . toFixed ( 5 ) ) ;