Skip to content

anarkitty2/math-extenstions

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 

Repository files navigation

Math Extensions

Should support python 3.9 up to 3.13

from rmextensions import rmextensions

Constants

PI: Constant set to 3.14159265

Misc Functions

fact(): Method for getting factorials
mean(x: list): Method for getting mean of list of numbers

Circles and Spheres

circumference(r): Method for getting the circumference of a circle

c_area(r): Method for getting area of a circle
s_area(r): Method for getting area of a sphere

Linear Equations

linequ_get_a(z: string, y): Will return x value required to get y in a linear equation as a float
linequ_get_y(z: string, x): Will return Y value of given equation and x value
linequ_get_b(z: str, y, x): Will return b value of given equation with y and x

Examples

linequ_get_a("2x+3", 11) will return 4.0
linequ_get_a("2x-1", 9) will return 5.0

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages