My current problem is trying to use FunctionInterpolation[] on complicated functions, the easiest to see this is probably when you compare the difference between:
FunctionInterpolation[Sin[t], {t, 0, 30}]
Plot[%[t], {t, 0, 30}]
and
FunctionInterpolation[Sin[t], {t, 0, 1000}]
Plot[%[t], {t, 0, 30}]
By increasing the domain of the function the interpolation becomes very inaccurate, I’m looking for a way to create a FunctionInterpolation[] that has an arbitrarily high accuracy for an arbitrarily long domain. It appears to be possible for short domains but I have been unable so far to find a solution for both.
If this is not possible, why not? is there something special about the form of InterpolationFunction that I’m unaware of?
You can try to include derivatives as well :