Area of largest semicircle that can be drawn inside a square | Function to find area of semicircle ; side of a square ; Call Function to find the area of semicircle
function find_Area ( a ) { var R = a * ( 2.0 - Math . sqrt ( 2 ) ) ; var area = 3.14 * R * R / 2.0 ; return area ; } var a = 4 ; document . write ( " " + find_Area ( a ) ) ;