Function Emulator

This is the function Emulator of a*cos(b*(x-c))+d

move the slide to see the difference move the poinst around to see the difference