Symbolic Derivatives with Elm

Hey everyone, I made a program to calculate derivatives symbolically. You can try it online here:
https://joshuaji.com/projects/derivative/.
I used Mathquill to display and input latex. If you have used Desmos, it is the same library they use.
It’s not perfect but it was a really fun project to make! I was inspired by this Haskell blog post:
http://5outh.blogspot.com/2013/05/symbolic-calculus-in-haskell.html.

11 Likes

The Janiczek/transform might interest you - we use it in elm-in-elm for optimizing AST trees :slight_smile: Sounds like something for your simplify function!

It goes from inside out, trying out various simplifications until it can’t anymore, then goes up.

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.