Question: Curve fitting with two conditions

I have a piecewise function which I want to curve fit automatically in Maple. The conditions are:

  • The new smooth curve must have the same area.
  • The new curve mus start and end at the same location.

An image of this is shown below. How can I do this in Maple?

Image Link:

Please Wait...