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 comentario

Walter Roberson
Walter Roberson el 16 de Dic. de 2011
I do not understand which animation is being referred to ?

Respuestas (0)

La pregunta está cerrada.

Etiquetas

Preguntada:

el 5 de Dic. de 2011

Cerrada:

el 20 de Ag. de 2021

Community Treasure Hunt

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

Start Hunting!

Translated by