Radius of the circle when the width and height of an arc is given | Function to find the radius ; Driver code
< ? php function rad ( $ d , $ h ) { echo " The ▁ radius ▁ of ▁ the ▁ circle ▁ is ▁ " , ( ( $ d * $ d ) / ( 8 * $ h ) + $ h / 2 ) , " STRNEWLINE " ; } $ d = 4 ; $ h = 1 ; rad ( $ d , $ h ) ; ? >