222 - Worksheet for WeBWorK Number 3

681 days ago by Professor222

var('t,u') # This is an interactive and automatic version of the review problem #3 @interact def _(time = slider(-2*pi,2*pi,pi/6,-pi/6),x = (cos(t)),y = (sin(t)),z = (t)): xp = derivative(x,t) yp = derivative(y,t) zp = derivative(z,t) xt = x(t=time)+xp(t=time)*t yt = y(t=time)+yp(t=time)*t zt = z(t=time)+zp(t=time)*t pretty_print(html('$x = %s$'%str(latex(xt)))) pretty_print(html('$y = %s$'%str(latex(yt)))) pretty_print(html('$z = %s$'%str(latex(zt)))) G = parametric_plot3d([x,y,z],(t,-2*pi,2*pi),thickness = 5) G += parametric_plot3d([xt,yt,zt],(t,-1,1),color='darkgreen',thickness = 4) G.show() 
       
time 

Click to the left again to hide and once more to show the dynamic interactive window