|
楼主 |
青青子衿
发表于 2019-5-28 16:15
回复 2# kuing
是的 ,确实漏了。
 - f[x_] := {5 Cos[x], 4 Sin[x]}
- g = D[f[x], x]
- h[x_] := FullSimplify[Normalize@g, Refine[Element[x, Reals]]]
- Manipulate[
- Show[ParametricPlot[{f[x]}, {x, 0, 2 Pi},
- PlotRange -> {{-6, 6}, {-5, 5}}],
- Graphics[{Arrow[{f[t], f[t] + Normalize@g /. x -> t}],
- Arrow[{f[t], f[t] - Normalize@D[h[x], x] /. x -> t}]}]], {t, 0.02,2 Pi}
- ]
复制代码 |
|