shane33

0 Reputation

2 Badges

13 years, 136 days

MaplePrimes Activity


These are questions asked by shane33

I am displaying in 2D, multiple arrows with amplitudes oscillating sinusoidally.  I wish each arrow to have its own color. I have included the commands I am using. Please provide the command that will provide the colors. Thanks.

Ax:=t->cos(5*t);Ay:=t->0;Bx:=t->-cos(5*t)/2;By:=3*cos(5*t)/2;

animate(arrow,[[[0.0],[0.0]],[[Ax(t),Ay(t)],[Bx(t),By(t)]]],t=0..Pi,view=[-2..2,-2..2],color=[blue,green])

Page 1 of 1