Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

In Matlab R2019A. 1. (30 Points) The trajectory of a ball thrown by a right fielder as defined in the (x,y) coordinates can be modeled

In Matlab R2019A.

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: y = x tan x2 + yo where the angle at which the ball leaves the right fielder's hand is 0, = 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

Domain Transfer Learning With 3q Data Processing

Authors: Ahmed Atif Hussain

1st Edition

B0CQS1NSHF, 979-8869061805

More Books

Students also viewed these Databases questions