I am trying to do a curve fitting, but I can't figure out how to use my own formula's for the fitting.
I need to provide 2 ways of curve fitting:
- using a exponentional function (see image below)
- using a polynome y=ax³+bx²+cx+d where i define the factors a to d
Once, the curve is plotted, I also need to some mathematical operations on it, e.g. calculating the tangent at a certain angle.
Is it possible to do such custom functions ?

