Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Write a MATLAB script or function that utilizes the Newton Raphson algorithm to determine whether the following situations are possible. Follow the steps outlined below

Write a MATLAB script or function that utilizes the Newton Raphson algorithm to determine whether the following situations are possible. Follow the steps outlined below to create your code.

1. Prompt the user for the weight, drag coefficient, frontal area, and initial altitude for both the original person and the hero.

2. Use the values to calculate the Terminal Velocities for both people (assume ? = 1.225 kg/m3).

3. Assuming that the first person has reached Terminal Velocity and the hero is able to accelerate at a constant rate of 9.8 m/s2, use the Newton Raphson method to determine the time at which the hero is able to catch the person falling from the plane. You should continue to update the time, t, using the Newton Raphson method until the absolute value of the difference of the two altitude equations is less than or equal to 0.001 seconds.

NOTES:

To aid in convergence, start with a guess of t =100 seconds.

Remember, if the derivative is at the estimate for t, you must adjust the estimate to avoid dividing by zero. Just add a small value (0.001) in this case.

4. Use the time determined in the previous step to calculate the final altitude and the final velocity of the hero ( ).

5. Determine whether the situation is possible by checking the following criteria:

A. If the altitude is positive and the final velocity of the hero is less than his/her Terminal Velocity, the hero is able to catch the person.

B. If the final altitude is negative, then it is not possible for the hero to catch the person.

C. If the final velocity of the hero is greater than his/her terminal velocity, check to see if it is possible for the hero to catch the person once he/she has reached Terminal Velocity as follows:

a),if the Terminal Velocity of the hero is less than the Terminal Velocity of the person, it is not possible for the hero to catch the person determine the time at which the hero reaches Terminal Velocity (V = a * t)

b).determine the altitude of both individuals at this point in time

c).solve for the time when the hero catches the person by using the first altitude equation for both people, using the altitudes found in the previous step for the initial altitude and solving for the time at which they are equal

NOTE: you do not need to use Newton Raphson for this

d).determine the altitude at which the hero catches the falling person; if the altitude is negative, it is not possible for the hero to catch the person; if the altitude is positive, it is possible for the her to catch the person

6. Display whether the hero saves the falling person or not as well as the altitude at which the person is saved.

Paste your MATLAB code below:

image text in transcribed

image text in transcribed

Drag Coefficient Frontal Person Weight (W). itude (A) Possible?. Altitude Area (A)Al Saved? Falling Hero- Falling. Hero- Falling Hero Falling Hero 556 N* 823 N 823 N 1.3- 0.25* 1.3 0.25 1.3- 0.75. 1.3 1.3 1.3 0.25 1.6 m2 0.15 m2p 10000 m 1.9 m2 9000 m-* 8000 me 10000 m 6000 m 10000 m. 5000 m* 556 N* 823 N. 1.9 m2 200 No 556 No 823 N 556 No 823 N 1.6 m2. 1.9 m2p10000 m- 1.6 m2 900 me 10000 m Falling5 Hero* 0.15 m2 Drag Coefficient Frontal Person Weight (W). itude (A) Possible?. Altitude Area (A)Al Saved? Falling Hero- Falling. Hero- Falling Hero Falling Hero 556 N* 823 N 823 N 1.3- 0.25* 1.3 0.25 1.3- 0.75. 1.3 1.3 1.3 0.25 1.6 m2 0.15 m2p 10000 m 1.9 m2 9000 m-* 8000 me 10000 m 6000 m 10000 m. 5000 m* 556 N* 823 N. 1.9 m2 200 No 556 No 823 N 556 No 823 N 1.6 m2. 1.9 m2p10000 m- 1.6 m2 900 me 10000 m Falling5 Hero* 0.15 m2

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

Oracle 11G SQL

Authors: Joan Casteel

2nd Edition

1133947360, 978-1133947363

More Books

Students also viewed these Databases questions