Question: Question 1 (10 marks): There are two drones flying in the air. The instantaneous speed of drone A can be formulized as follows. V(t)=sin(21)

Question 1 (10 marks): There are two drones flying in the air.

Question 1 (10 marks): There are two drones flying in the air. The instantaneous speed of drone "A" can be formulized as follows. V(t)=sin(21) |. m/s 2t+1 60 The instantaneous speed of drone "B" can be formulized as follows. V(t) = cos(e')+1.41+2 m/s Calculate the average speed V(t) ^ and V( t) B of drones "A" and "B" using "mean" command of MATLAB for the first 100 s with the time step of 1 s and display the results. Build the codes and plot the following graphs for (a) and (b) in a same figure window using subplot command. a) The instantaneous speeds versus time (0 - 100 s) for both drones "A" (left) and "B" (right) in a same row with the time step of 1 s. Label x and y axes as 'Time (seconds)' and 'Speed (m/s)' and add legends for each graph, e.g., Drone A and Drone B. The plot line of drone "A" should be dotted red and the plot line of drone "B" should be blue dash-dotted. b) The initial locations at 10 s for both drones are shown in Fig. 1. Drone A is moving toward west with the average speed of V(t) ^, while drone B is move toward east with the average speed of V(t) g as shown by the arrows. Plot the relative distance between the drones versus time for (2 minutes) 120 s in time step of 1 s in the second row of the subplot window. Use 'Time (mins)' and 'Distance (meters)' for x and y axes. Use a legend "Distance" for the plot and the plot line should be a green solid line. Note: Two sub-graphs of (a) are put in the first row and one wide graph of (b) is put in the second row of the figure window. B 200 m A

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Mechanical Engineering Questions!