- 1 V O 30 65 2 Theta 20 70 3 Theta Deg2rad Theta 4 X Max V O 2 Sin 2 Theta 51 9 81 5 Plot V 0 X Max 6 1 (76.68 KiB) Viewed 21 times
1 v_o=[30:65]; 2 theta-[20:70]; 3 theta-deg2rad(theta); 4 x_max=(v_o.^2*sin(2*theta (51)))./(9.81); 5 plot(v_0,x_max) 6
-
- Site Admin
- Posts: 899603
- Joined: Mon Aug 02, 2021 8:13 am
1 v_o=[30:65]; 2 theta-[20:70]; 3 theta-deg2rad(theta); 4 x_max=(v_o.^2*sin(2*theta (51)))./(9.81); 5 plot(v_0,x_max) 6
1 v_o=[30:65]; 2 theta-[20:70]; 3 theta-deg2rad(theta); 4 x_max=(v_o.^2*sin(2*theta (51)))./(9.81); 5 plot(v_0,x_max) 6 y_max=(v_o.^2*sin(theta(51))*sin(theta(51)))./(2*9.81); 7 plot(v_o,y_max) 8 9 %Maximum value of x_max & y_max 10 11 X_MAX=x_max(length(x_max)) 12 Y_MAX-y_max(length(y_max))