$x_0$

f(x) =

f(x) = (-0.5 * sin(x)) + (0.5 * cos((0.8 * x))) + x
n = 1 (slider from 0 to 20, step 1)
A = Point(xAxis)
T = TaylorSeries(f, x(A), n)
B = Point({x(A), f(x(A))})
h = Segment(A, B)
text2: "T_{" + (LaTeX[n]) + "}(x) = "
InputBox1 = Textfield(f)
text1: "" + (LaTeX[text2 + (LaTeX[T])]) + "\textcolor{#ffffff}{\frac{(x-1)^2}{.}}"