Example

inter

Increasing the weights of the second point and of the next-to-last point, we are able to smooth the interpolating polynomial curve, turning it into a rational one.