Construct function out of extrema, roots...
Is there a way in sage to construct and plot a smooth function which has a given set of data:
- the minima (miA1,miA2), (miB1,miB2),...
- the maxima (maA1,maA2), (maB1,maB2),...
- the roots (nA1,nA2), (nA1,nA2)...
- a given behaviour for x→±∞.
I don't think so (this would be a strange feature to have), but you can do it analytically through calculus and other methods. Do you need help doing that?
If you have a good idea how to do it, it would be nice if you could explain it.