Mercerenies / fifi-calculator

1 stars 0 forks source link

Derivative cleanup #40

Open Mercerenies opened 2 weeks ago

Mercerenies commented 2 weeks ago

Follow-on to #35: Derivatives are a great use case to test our simplifier. We should run through all the common derivative rules with different args as constants and make sure we get sensible results. If we don't, we need a simplifier rule for it.

For instance, the regular quotient rule should be able to do x^2 / 2 and get a reasonable answer.