Docsity

Projectile Motion Calculations, Exercises of Physics

Partial preview of the text

Download Projectile Motion Calculations and more Exercises Physics in PDF only on Docsity!

g=9.81; a = input ('nhap goc alpha '); v0 = input ('nhap v0'); vx = v0cosd(a); vy = v0sind(a); b = atand(vx/vy); disp (b) an=gsind(b); Rnem=(v0v0)/(an); Rcao=(vx*vx)/(g); disp ('ban kinh quy dao nem'); disp (Rnem); disp ('ban kinh quy dao cao nhat'); disp (Rcao); tyle=Rnem/Rcao; disp ('ty le ban kinh '); disp (tyle);