Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Please use Matlab R2019a code to write a step by step solution program to the following question. This is all the information that was given

Please use Matlab R2019a code to write a step by step solution program to the following question. This is all the information that was given

image text in transcribed

1. (30 Points) The trajectory of a ball thrown by a right fielder as defined in the (x,y) coordinates can be modeled as: where the angle at which the ball leaves the right fielder's hand is @ = 25, the initial velocity is v. = 21.5 m/s, the distance between the right fielder and the catcher is 35 m, and the throw leaves the right fielder's hand at an elevation of 1.6 m. Use g = 9.81 m/s2 (a) Plot the function using fplot in figure 1. Title the plot MAE 284, Homework 3, Problem 1, Part a". (b) If the catcher cannot reach above an elevation of 2 m. will she catch the ball? Use an fprintf statement to display the result (e.g. "The catcher can/cannot catch the ball"). (c) Compute the maximum height reached by the ball using each of the following methods. Use the fprintf function to print the result. For example, "The maximum height using goldmin is 19.0214618608 m". Be sure to include the same number of digits to the right of the decimal point. i. Golden-section search (x = 0, x, = 40, e, = 1%) ii. Parabolic interpolation ( x1 = 10, x2 = 20, xz = 30, Max iterations = 4) iii. MATLAB's fminbnd with the iterations displayed

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

Learning PostgreSQL

Authors: Salahaldin Juba, Achim Vannahme, Andrey Volkov

1st Edition

178398919X, 9781783989195

More Books

Students also viewed these Databases questions

Question

LO1 Understand risk management and identify its components.

Answered: 1 week ago