Question: Programming using MATLAB BACKGROUND In kinematic analysis of a projectile motion, the displacement (S) and velocity (V) of the projectile are calculated using the following

Programming using MATLAB
BACKGROUND In kinematic analysis of a projectile motion, the displacement (S) and velocity (V) of the projectile are calculated using the following formulae: x-direction (>) = = y-direction (^) = 2=22 =122 where, g - gravitational acceleration; g=9.81 m/s2 t time to reach a particular position TASK (4 m-file to be produced) 1. Produce three functions which are able to calculate the time for the particle to reach its maximum horizontal distance (tmax), projectile velocity (V) and its components (Vx & Vy), and projectile displacement (S) and its components in x-direction (Sx) and y-direction (Sy). 2. By employing the functions in 1., for a projectile with an initial velocity of U = 100 m/s released at an angle =45 generate 200 velocities data (Vx, Vy & V) and displacements data (Sx, Sy & S) of the particle. From the data, produce presentable;
a. single x-y graph of particle motion; Sy-Sx (Sy versus Sx) in one page b. separate x-y graphs of Sx-t, Sy-t, S-t, Vx-t, Vy-t and V-t in one page c. polar graphs of S-t, S-Sx, V-t and V-Vy each in one page Subsequently, save the displacements and velocities data in a file and it should be arranged in seven columns in the following format. t Sx Sy S Vx Vy V [Hints: When calculating Vx, use the formula (= + time- time) to generate 200 data]
Symax u m/s Sy e B Sx Sxmax Symax u m/s Sy e B Sx Sxmax
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
