Question: Can someone help me out with ODE problem in MATLAB! Also if you could kind of explain how to set these up it would be
Can someone help me out with ODE problem in MATLAB! Also if you could kind of explain how to set these up it would be greatly appreciated because I do not understand what to do when given a problem like this and it is super frustrating not being able to solve it.
Car B is 30 miles directly east of Car A and begins moving west at 90 mph. At the same moment car A begins moving north at 60 mph. Both cars are electric prototypes and have a range of only 30 miles. What will be the minimum distance between the cars in miles?
Hint: Let variable x be the distance car A travels in t hours, and variable y the distance car B travels in t hours. Let variable L be the distance between cars A and B after t hours: Write the optimization equation in terms of just one variable, t, with a guess value of t=0.2. Substitute x=60t and y=90t in the equation below Minimize L=[x2+(30-y)2]^(1/2) x and y are non-negative x and y must be less than 30
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
