Question: 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
 ROOT FINDING AN UNKNOWN FUNCTION On Canvas you will find a

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!