JSPM

sector-of-circle

0.0.1
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 1
  • Score
    100M100P100Q16130F
  • License ISC

Calculates other properties of a sector using its radius and angle

Package Exports

  • sector-of-circle
  • sector-of-circle/index.js

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (sector-of-circle) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

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