Why did you take time out of your life to create something as tedious as this?

Two reasons.

I get bored of my current projects sometimes.

I showed my Calculus teacher my Calculators Project and he was impressed about the fact that Iām trying to make a website for several types of Calculators.

He asked if I could make a set of functions and tools that could help with general math equations and formulas and such, and that if I managed to do this, heād give me extra credit. Thatās very cool of him.

Some of these functions are a waste of time to make, since you only need one line to replicate it. Why bother to make these?

A: Why not make it? I wanted to include everything. Whether itās easy or hard

Contributing

Contributing is always welcome, even encouraged. It would especially be helpful for complicated math formulas that will take my lots of time to implement

Also note that when contributing, make sure you arenāt using any APIs or external packages. I want the library to be zero-dependencies at all times, with all functions written from scratch.

You can make a code block
There are two types of code blocks, and you make them using this character: `

The first is like this: `` ā insert code between the two characters, and it looks like this. It is good for inline code statements.

The other option is a full code block which is made using six characters like this: `````` where the code goes in between with three on each side. This type of code block can go across multiple lines, like this:

Hereās a list(some of these are ehh):
-MAD
-Volume of sphere, cylinder, cone
-Area of a regular polygon
-Area of triangle, trapezoid, and rhombus
-Simplifying expressions
-Solving equations
-Prime factorization
-Scientific notation
-Pythagorean theorem
-Rounding

You should add stuff with primes. Feel free to steal borrow code from my prime-package-for-primes since I have no idea where to add a file for that stuff in your repo.

Come up with method/function that isnāt apart of the package already

Fork the repository and create a function in the appropriate math category (Arithmetic methods go in src/Math/Arithmetic.ts, Calculus methods go in src/Math/Calculus.ts, etc)

Pull Request

Requirements:

The function parameters must have types and itās own return type. The return type canāt directly be a primitive.

Example:

export type isPrime = boolean;
// Must be this
function isPrime(num: number): isPrime {
// Code here
}
// Not this
function isPrime(num): boolean {
}

No packages. The functions must be made manually (I want the package to have zero dependencies)