Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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)

image text in transcribed

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

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Fundamentals of Ethics for Scientists and Engineers

Authors: Edmund G. Seebauer, Robert L. Barry

1st Edition

9780195698480, 195134885, 195698487, 978-0195134889

More Books

Students also viewed these Mechanical Engineering questions