Problem #1: (Projectile Motion) A drone carrying a package to be delivered to customers. The package...
In matlab I have created the following function that calculates the distance a projectile travels when shot from a cannon given initial velocity and theta. function [distance, xplot, yplot] = Cannon_lab8(V, theta) g = -9.81; % gravity m/s^2 k = 0.35; % drag coefficient Vx = V*cos(theta); %velovity in x-direction Vy = V*sin(theta); %velovity in y-direction dt = 0.01; % seconds, time step x = 0; y = 0; xplot(1) = 0; yplot(1) = 0; i = 2; while y...
VBA The projectile motion equations are,x=x0+v0*cos(θ)*t, y=y0+v0*sin(θ)*t+0.5*g*t^2 where x and y are the current position at time t, x0 and y0 are the projectile’s initial position, v0 is the projectile’s initial speed, θ is the initial firing angle of the projectile, and g is the gravitational acceleration which is -9.81 m/s2 near Earth’s surface. The user (me) will input the initial x-position (m), y-position (m), speed (m/s), the firing angle (in degrees) in cells F2-F5 on Sheet2. Create a run...
Write a MATLAB Graphical User Interface (GUI) to simulate and plot the projectile motion – the motion of an object projected into the air at an angle. The object flies in the air until the projectile returns to the horizontal axis (x-axis), where y=0. This MATLAB program should allow the user to try to hit a 2-m diameter target on the x-axis (y=0) by varying conditions, including the lunch direction, the speed of the lunch, the projectile’s size, and the...
Part B: Launching a Projectile at an Angle (1) Erase the trajectory from part A (yellow eraser button). (2) Ensure that the initial height (h = 10 m) and initial speed (1 = 15 m s 1) remain equal to the quantities given in part A. (3) Position the projectile launcher so that it launches at an angle of 20°. (4) Fire the launcher (using the red fire button) and record the x-displacement by positioning the center of the target...
5:16 lLTE ) Done 1 of 5 Assessment #1 (Kinematics of a Particle) Rectilinear Motion (Straight linc Motion 3. The position of a point during the interval of time from r otor 6 is given by ** * m. (a) What is the maximum velocity during this interval of time, and at what time does it occur? (b) What is the acceleration when the velocity is a maximum? (20 m/s, 0 m/s 3. A test projectile is fired horizontally into...