sector-of-circle
v0.0.1
Published
Calculates other properties of a sector using its radius and angle
Downloads
5
Maintainers
Readme
Sector_of_Circle
sectorOfCircle(args) returns an object with properties; Arclength-> Length of arc , Area-> Area of sector , Perimeter-> Perimeter of sector , ChordLength-> Length of chord.
The function accepts 4 arguments:
2-REQUIRED [radius-> radius of circle, angle-> angle of sector]
2-OPTIONAL with default values of 0 [mode-> 0=radian while 1=degree , disp-> 1=display sector properties in console while 0=other