Question: How to modify this animation?


This is an animation which I learn a maplesoft blog written by Mr. Robert Lopez. As the animation illustrated, the red segment is the normal to the green curve(y=x^2). One endpoint (assuming point1) of the segment is the intersection of the normal and the blue curve(y=x^2+1). But when running the animation, it seems that the red segment becomes unexpected when -0.5<a<0.5.

1, is there any way to make point1 don't fly away when -0.5<a<0.5?

2, can you give me some advices about how to animate the tangent line (segment) of the green curve? namely, let the tangent line accomany with the normal line (the red segment) move together.

Thank you!

Best regards!





Please Wait...