Question: Problem (2): A person at point A spots a child in trouble at point B across the river as shown: 10,000 ft River 3,000 ft

 Problem (2): A person at point A spots a child in

Problem (2): A person at point A spots a child in trouble at point B across the river as shown: 10,000 ft River 3,000 ft The person can run at a speed of 8.6 ft/s and can swim at a speed of 3.9 ft/s. In order to reach the child in the shortest time the person runs to point C and then swims to point B, as shown above. Write a MATLAB program that determines the distance x to point C that minimizes the time the person can reach the child. In the program define a vector x with values ranging from 0 to 5,000 with increments of 1. Use this vector to calculate the corresponding values of time t. Plot x versus t with proper label, title, and legend. Then use MATLAB's built-in function min to find the value of x that corresponds to the shortest time

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 Databases Questions!