This question is related to http://www.mapleprimes.com/questions/204419-Derivatives-Of-Splines-Are-Not-Defined and http://www.mapleprimes.com/questions/42114-Problem-With-Spline-Integrating , however I have not been able to apply the solutions given there to my problem.
I have a set of points given by
and certain function value points given by
where e1 is the function I am approximating.
I come up with my piecewise function.
When I do diff(e4,x), however, the points at the nodes show "float(undefined) x=0.2..."(the node).
As it turns out, the value of the derivative on the left of the node is not equal to that of the right side by a factor of 10^(-7), in other words, numerically unimportant but high enough for maple to realise it is not the same number. How could I tell Maple that I am happy choosing, for example, the value given by the function on right side of the node?
I welcome any suggestions.
Many thanks in advance.