I am having a difficult time making my Manipulate
show what I want in the CDF player.
I want to show a tangent sliding along any curve
f[x_] := (x - 1) (x - 5) (x - 10);
tangent[f_, x0_, x_] := f'[x0] (x - x0) + f[x0];
Manipulate[
Plot[{f[x], tangent[f, p, x]}, {x, 0, 10},
PlotRange -> {{0, 10} {0, 40}}, PlotStyle -> {Blue, Green},
Epilog -> {Red, PointSize[.015], Point @ {p, f[p]}}],
{p, 0, 10}]