Coder Social home page Coder Social logo

prakhr / pyalgebra-v Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 22 KB

[PyPi Package] - performs integral and differentiable operations on string expressions using sympy

Home Page: https://pypi.org/project/pyAlgebra/

License: MIT License

Python 14.59% Jupyter Notebook 85.41%
calculus linear-algebra sympy sympy-library matplotlib matplotlib-pyplot matplotlib-figures matplotlib-tutorial matplotlib-python maths mathematical-programming mathematica mathematics markdown

pyalgebra-v's Introduction

pyAlgebra-v

performs integral and differentiable operations on string expressions using sympy

Motivation

The motivation behind it came from the purpose and realisation to help others understand it in a much better. In other words, to push others and become a better version of ourselves.

Tech/framework used

Ex. - latest version of sympy(or 1.8), matplotlib(or 3.1.3)

Built with

Code Example

#For example :-
import matplotlib.pyplot as plt
from sympy import sympify
from sympy import Poly,Symbol,summation,pprint,solve,Integral,Derivative
from sympy import solve_poly_inequality,solve_rational_inequalities,solve_univariate_inequality,sin
    
expr='-x**2 + 4 < 0'
pprint(inequality_solver(expr))
    
expr='((x-1)/(x+2)) > 0'
pprint(inequality_solver(expr))

expr='sin(x)-0.6>0'
pprint(inequality_solver(expr))

r1,r2=roots(1,1,1)
print(r1,r2)

x_values=list(range(-1000,1000))
expr='x*x*x*x+5*x*x*x+10*x*x+12*x+1'
plot_general_equation(expr,x_values)

x=Symbol('x')
y=Symbol('y')
z=Symbol('z')
expr1=2*x+2*y+2*z
expr2=4*x+4*y+4*z
expr3=3*x+3*y+3*z
expressions=(expr1,expr2,expr3)
print(solve_n_equations(expressions))

expr = 'a*n+d'
upto = 10000
s=seriesSummation(expr,upto)
pprint(s)
    
St='5*u*t**2+2*t+8'
Stt=find_derivative(St,'t')
pprint(Stt)
Sttt=find_derivative(Stt,'t')
pprint(Sttt)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.