Hey guys!
I'm trying to model a system, mainly how it gives off energy over time depending on a number of paramters.
For that I have a number of expressions containing all kinds of stuff (Tanh[], Log[] etc.) and I would like to know their primitive or their inverse functions to plot them or use it for further calculations.
However, as I am adding more and more complexity, their seems to be no analytial solution (using Solve, Reduce, Inverse or Integrate) in some cases (or at least I am not getting one) and I don't know how to tackle the problem.
Now, since the graphs these expressions give me are usually very 'simple' my idea was to approximate them with a function that is easier to manipulate.
However, the closest I was able to find is FunctionInterpolation[] but that doesn't give me a new function and I have no idea what type of approximation is used.
As for all the other fit commands, the seem to refer to pairs of numbers etc. Isn't there a way to say I want to let's say approximate f(x) with a third degree polynomial as accurately as possible within {x1,x2}?
Here's an example:
This Function gives me t(s) and I want s(t) to put in into another equation. I do have numerical values for all other parameters.
t[
s_, \[CapitalDelta]h_, \[Rho]_, \[Lambda]_, \[CurlyTheta]e_, \
\[CurlyTheta]o_, dw_, \[Lambda]w_, \[Alpha]f_, r_] := (
s^2 \[CapitalDelta]h \[Rho] (-(3/2) + (3 \[Lambda])/(
dw \[Alpha]f - r \[Alpha]f) + (
3 \[Lambda] Log[r/(-dw + r)])/\[Lambda]w + ((r + s)^2 Log[(r + s)/
r])/s^2))/(2 (\[CurlyTheta]e - \[CurlyTheta]o) \[Lambda])
Any help is greatly appreciated!