Area of the circle that has a square and a circle inscribed in it | Function to return the required area ; Calculate the area ; Driver Code
function getArea ( a ) { var area = ( Math . PI * a * a ) / 4 ; return area ; } var a = 3 ; document . write ( getArea ( a ) ) ;