Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

ROOT FINDING AN UNKNOWN FUNCTION On Canvas you will find a file called hitTheSpot.m . This is a function file. If you download it and

ROOT FINDING AN UNKNOWN FUNCTION
On Canvas you will find a file called hitTheSpot.m. This is a function file. If you download it and put it in your main Matlab directory, it gives you access to a new function in Matlab that I've written. I'll describe the function below:
hitTheSpot (v,) models the trajectory of a projectile that has initial speed v(in ms) and initial angle (in degrees) between its velocity and the horizontal . This model includes air resistance, so it involves some complicated math. The function returns a single scalar value, which is the distance the projectile travels before it hits the ground (in meters). This distance is called the range.
a) I would like you to use a root finding method (of your choice) to find the appropriate speed v to launch a projectile at a range of 200 meters. For this part of the problem, I would like you to solve the problem for =30.
b) Use a root finding method of your choice to find both angles you could fire a projectile with a speed of 80ms to hit a target 200 meters away. This will require two sets of initial guesses
image text in transcribed

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

Data Management Databases And Organizations

Authors: Richard T. Watson

3rd Edition

0471418455, 978-0471418450

More Books

Students also viewed these Databases questions