f(x) = sin(x)
a = 6 (slider from 0 to 10, step 1)
g = TaylorSeries(f, 0, a)