curve fit through points

and example of curve fit through points