SymPy is a Python package that solves and manipulates symbolic expressions. Scipy.optimize.fsolve is compared to SymPy along with other example problems.
Пікірлер: 15
@sokrethpak7460 Жыл бұрын
The best video, i have ever meet!❤ Very thank
@sriharshakodati4 жыл бұрын
I wish I can thank you in person. Your videos are soooo much helpful. May I ask a quick question. If the equation 1 and 2 are a bit complicated and we want to solve for x and y, How can we mention that we do not want any negative values as solution? Thanks!!!!!!!!!!!!
@apm4 жыл бұрын
You can add lower bounds of zero to x and y. See apmonitor.com/che263/index.php/Main/PythonOptimization
@barnowl28324 жыл бұрын
In Python can you define equations like you would in Matlab? i.e to do something like MyEqn = 0.1 * x^5 - x^2 == 10 sin (x) solve (MyEqn, x)
@apm4 жыл бұрын
Yes, symbolic solutions are with Sympy. Check out lesson 10 here: apmonitor.github.io/data_science/
@PauloVictor-hp9op5 жыл бұрын
how can i solve transcendental equations with numpy?
@apm5 жыл бұрын
Here are some suggestions: stackoverflow.com/questions/43047463/find-root-of-a-transcendental-equation-with-python also take a look at Python Gekko
@BlueSkyGoldSun2 жыл бұрын
Can we make Binomial equation in symPy?
@apm2 жыл бұрын
Yes, please see apmonitor.com/pds/notebooks/10_solve_equations.html
@bishalsarkar733 жыл бұрын
Sir ur videos are awesome....can you suggest me a book on python...
@apm3 жыл бұрын
I don't have a book but here is a free online course: apmonitor.com/che263 for engineers
@AJ-et3vf3 жыл бұрын
Here's a free online book: pythonnumericalmethods.berkeley.edu/notebooks/Index.html