Qalculate / libqalculate

Qalculate! library and CLI
https://qalculate.github.io/
GNU General Public License v2.0
1.79k stars 144 forks source link

dsolve? #59

Open danmou opened 6 years ago

danmou commented 6 years ago

I couldn't find a way to solve differential equations in Qalculate. Will this feature be added in a future version? For me, it's the only major feature missing before Qalculate can replace programs like Maple.

hanna-kn commented 6 years ago

No one has asked for this before and I had not thought of it, but now that you have brought it up, I will make an effort to implement differential equation solving in Qalculate!. It is difficult to estimate when it will be ready, but likely not anytime soon.

danmou commented 6 years ago

Thanks a lot!

hanna-kn commented 6 years ago

I have now implemented a basic dsolve function, which includes support for solving first degree linear, separable and Bernoulli differential equations. I have not yet had time to test it properly.

The next planned step is to enhance the integration capabilities, which dsolve naturally is highly dependent on, before adding the ability to solve other kinds of differential equations.

hanna-kn commented 6 years ago

Now I believe that dsolve() and integration have reached usable state in libqalculate.

Integration has been much enhanced and dsolve() has been fixed so that it actually works (and initial condition and simplification of constant has been implemented).