Can one do Symbolic Math in Python, as done in Matlab? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Can one do Symbolic Math in Python, as done in Matlab?

i want to display an equation of this form: ax^2 + bx + c, where a, b and c are numeric input. how can this be done? also how can one do x to a power of 2 (x squared)? thank you

30th Nov 2016, 8:23 AM
Oh Jay
Oh Jay - avatar
1 Answer
+ 1
I think you'll find the SymPy library helpful. You can read more about it here: http://www.sympy.org/en/index.html
1st Dec 2016, 10:32 AM
apertje
apertje - avatar