text: Radius of the circle when the width and height of an arc is given | Function to find the radius ; Driver code
code: function rad ( d , h ) { document . write ( " " + ( ( d * d ) / ( 8 * h ) + h / 2 ) ) ; } var d = 4 , h = 1 ; rad ( d , h ) ;