@ilihub/perimeter-of-semi-circle
A TypeScript library for calculating the perimeter of a semi circle.
Installation
# if you're using pnpm
pnpm add @ilihub/perimeter-of-semi-circle
# or, if you're using npm
npm install @ilihub/perimeter-of-semi-circle
# or, if you're using yarn
yarn add @ilihub/perimeter-of-semi-circle
Usage
import { PerimeterOfSemiCircle } from "@ilihub/perimeter-of-semi-circle";
const radius = 5;
const perimeter = PerimeterOfSemiCircle(radius);
console.log(perimeter); // 25.707963267948966
🛠️ Online Tool ⚡
You can use this npm package as an online tool by clicking on the link provided 👉🏻 here 👈🏻
Sponsors & Backers
Support the development of new open-source projects from ilihub through crowdfunding.
The core of ilihub is our crowd-funded open-source projects, licensed under the permissive MIT license. Sponsorship increases the rate of bug fixes, documentation improvements, and feature development.