Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

MATLAB CREATE A FUNCTION FILE OF SECANT METHOD AND THEN CALL THE FUNCTION USING A SEPERATE M FILE TASK 2 [3 MARKS] Aerospace engineers sometimes

image text in transcribed

MATLAB

CREATE A FUNCTION FILE OF SECANT METHOD AND THEN CALL THE FUNCTION USING A SEPERATE M FILE

TASK 2 [3 MARKS] Aerospace engineers sometimes compute the trajectories of projectiles such as rockets. A related problem deals with the trajectory of a thrown ball. The trajectory of a ball is defined by the (x,y) coordinates as shown in the figure below. The trajectory model can be modelled as: g y =tan(O)x 2v cos? (0) -x2 + yo where is the throwing angle in degrees, v, is the initial velocity, yo is the thrower's elevation, x is the distance from the thrower to the catcher and y is the catcher's elevation, g is the gravitational acceleration (g=9.81 ms?). A. Use the secant method to find the required throwing angle given Vo =20m/s, yo=2m, to reach a catcher at point x=35m, y=1m. Use 0 = 15 and 0-1 = 60 with a precision of le-4. Use fprintf to print the initial throwing angle required and the number of iterations taken. B. Also, plot the root-finding equation against the initial throwing angles of O ses 60. Mark the estimated root with a black diamond

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_2

Step: 3

blur-text-image_3

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

Making Databases Work The Pragmatic Wisdom Of Michael Stonebraker

Authors: Michael L. Brodie

1st Edition

1947487167, 978-1947487161

More Books

Students also viewed these Databases questions

Question

1. What is the IV in this study?

Answered: 1 week ago

Question

When is it appropriate to use a root cause analysis

Answered: 1 week ago