Answers for "php code calculating a circle segment"

PHP
0

area of a circle segment in php

<?php  $r=12;$x=12; $s=(pow($r,2)/2)*($x-sin((3.14/180)*$x)); echo sprintf("nArea of Segment Circle = %f",$s);?>
Posted by: Guest on September-25-2021

Browse Popular Code Answers by Language