
Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!

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);