Skip to content
This Library will help you to use math formula in your coding you need.
Python
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
README.md
formula.py

README.md

Python Math Formula Library

This Library will help you to use math formula in your coding you need.

Installation

Download the formula.py file in your main folder of Python Project. Then edit the file where you want to use formula and add this code on there

from formula import *

Usage

from formula import *

# Formula for [1+2+3+4+5....+N] data = ((n * (n + 1)) / 2). Use Function sseq(). It will provide int Value

sseq(data)

# Formula for [1.1+2.2+3.3+4.4+5.5.....+N.N] data = ((n * (n + 1.1)) / 2.2). Use Function sseq_dot(). It will provide float Value

sseq_dot(data)

# Formula for [1*1 + 2*2 + 3*3 + 4*4......+NxN] data = (n * (n + 1) * ( (2 * n) + 1 ) / 6). Use function sseq_squre(). It will provide normal value
sseq_squre(data)

#Formula of circumference C = 2PIr

radiusofc(data)

#Formula of Area A = pi*(r*r)

area(data)

#Formula Find Radius of  Circle r = c / 2 pi

raduis(data)

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

Please make sure to update tests as appropriate.

License

MIT

You can’t perform that action at this time.