Simplest way to solve mathematical equations in Python

后端 未结 15 1602
自闭症患者
自闭症患者 2020-12-13 10:15

I want to solve a set of equations, linear, or sometimes quadratic. I don\'t have a specific problem, but often, I have been in this situation often.

It is simple to

15条回答
  •  醉梦人生
    2020-12-13 10:24

    It depends on your needs:

    If you want an interactive graphical interface, then sage is probably the best solution.

    If you want to avoid using a graphical interface, but you still want to do computer algebra, then sympy or maxima may cover your needs. (sympy looks very promising, but it still have a long way to go before they can replace mathematica).

    If you don't really need symbolic algrebra, but you need a way to program with matrices, solve differential equations, and minimize functions, then scipy or octave are excelent starting points.

提交回复
热议问题