Answered step by step
Verified Expert Solution
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 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
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started