# Matlab

Not what you're looking for?

Suppose that a rabbit is initially at point (0,100) and a fox is at (0,0). Suppose that the rabbit runs to the right at speed Vr = 5 ft/sec and the fox always runs toward the rabbit at speed Vf = 6 ft/sec. Write a Matlab program that determines to within 1 second, when the fox catches the rabbit. The program should also plot rabbit and fox positions. Use the modified Euler method to estimate Xf(t),Yf(t) and the time to capture. Please do not respond without a written program in Matlab.

##### Purchase this Solution

##### Solution Summary

This shows how to write a Matlab program to model a situation involving movement of a fox and rabbit.

##### Solution Preview

See the attached file.

Xr_init= 100;

Xf_init =0;

Vr=5;

Vf=6;

dt=1;

while abs(Xf-Xr)/Xr > ...

##### Purchase this Solution

##### Free BrainMass Quizzes

##### Exponential Expressions

In this quiz, you will have a chance to practice basic terminology of exponential expressions and how to evaluate them.

##### Graphs and Functions

This quiz helps you easily identify a function and test your understanding of ranges, domains , function inverses and transformations.

##### Solving quadratic inequalities

This quiz test you on how well you are familiar with solving quadratic inequalities.

##### Know Your Linear Equations

Each question is a choice-summary multiple choice question that will present you with a linear equation and then make 4 statements about that equation. You must determine which of the 4 statements are true (if any) in regards to the equation.

##### Probability Quiz

Some questions on probability