Author: Mr Lafferty www.mathsrevision.com
Date: 31 March 2013

a = 1 (slider from -5 to 5, step 0.5)
b = 1 (slider from 0 to 6, step 0.5)
c = 0 (slider from -5 to 5, step 0.5)
h(x) = cos(x°)
text1: "$ f(x)=" + (LaTeX[a]) + "cos(" + (LaTeX[b]) + "x)+" + (LaTeX[c]) + " $"
f(x) = a * cos((b * x)°) + c
C = (360, 5)
D = (360.0703125, -5.343598055105346)