my-math-helper

1.0.2 • Public • Published

What is this?

Package helps you implement various mathematics operations

Installation

Run npm i my-math-helper

Use:

import * as Math from 'my-math'*

Math.areaSquare(side);
Math.perimeterSquare(side);
Math.areaRectangle(side);
Math.perimeterRectangle(side);
Math.volumeCuboid(length, breath, height);
Math.totalSurfaceAreaCuboid(length, breath, height);
Math.curvedSurfaceAreaCuboid(length, breath, height);
Math.volumeCube(side);
Math.surfaceAreaCube(side);
Math.findProfitLoss(sellingprice, costprice);
Math.findMean(array);
Math.findMedian(array);
Math.findMode(array);

Parameters

This takes one parameter, side.

By default side is set to 0. By default length is set to 0. By default breath is set to 0. By default heigth is set to 0. By default selling price is set to 0. By default cost price is set to 0. By default array is set to [].

Package Sidebar

Install

npm i my-math-helper

Weekly Downloads

4

Version

1.0.2

License

ISC

Unpacked Size

4.09 kB

Total Files

16

Last publish

Collaborators

  • xm_shubham