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 models the trajectory of a projectile that has initial speed in 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 to launch a projectile at a range of meters. For this part of the problem, I would like you to solve the problem for
b Use a root finding method of your choice to find both angles you could fire a projectile with a speed of to hit a target meters away. This will require two sets of initial guesses
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
