Haskellculus is a program that can take in a mathematical expression, differentiate, and simplify it (to an extent).
This site uses Haskellculus version: 0.3.0.0
Since I have not yet had the time to create a proper parser, you must enter expressions in the form of the math expression (MExp) data type
We have that an MExp = Lit Rational | Pi | E | Var String | Add MExp MExp | Mul MExp MExp | Div MExp MExp | Pow MExp MExp | Ln MExp | Sin MExp | Cos MExp
If you are creating a literal, the rational inside must be typed as numerator % denominator and surrounded by parentheses. For example, to represent the fraction \(\frac{67}{420}\), you can write (Lit (67 % 420))
Note that if necessary, you must use parentheses (to group together expressions)
An example of an expression is Pow (Var "x") (Mul (Lit (5 % 1)) (Var "x"))
Finally, while you need to put strings in quotation marks for Var, note that you should not put quotation marks in the variable field below.
Result:
\(\LaTeX\) formatted result: