two questions about mupad

There is a problem I come across:
how to make the tangential line disappear at the end of this animation?
f:=x->sin(x):
T:=2*PI:
p1:=plot::Function2d(sin(x),x=-PI..4*PI):
p2:=plot::Line2d([x-T/16,f(x)-f'(x)*T/16],[x+T/16,f(x)+f'(x)*T/16],x=-T/14..11*T/10.5,LineColor=RGB::Red):
plot(p1,p2)
Any suggestion will be appreciated.

1 件のコメント

Walter Roberson
Walter Roberson 2011 年 12 月 16 日
I do not understand which animation is being referred to ?

回答 (0 件)

この質問は閉じられています。

質問済み:

2011 年 12 月 5 日

閉鎖済み:

2021 年 8 月 20 日

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by