Question: Please write this question in matlab and find the roots by any of the root finding method (bisection, secant Root finding a solution A Dartboard

Please write this question in matlab and find the roots by any of the root finding method (bisection, secant

Root finding a solution A Dartboard black-box problem The motion of a projectile in flight is a standard topic in a physics course. This motion is typically idealized as a particle being affected only by the force of gravity. It therefore has acceleration only in the vertical direction. The equations that dictate the x (horizontal) and y (vertical) position over time are given by =0cos() =0sin()122 Where g is the acceleration due to gravity (9.81 2 in standard metric units), 0 is the initial speed of the projectile, is the angle the initial velocity vector makes with the horizontal direction, and t is the elapsed time since the initial time. In this problem, we will be attempting to model the throw of a dart, and attempting to hit the bullseye which is located =2.37 , =0.07. a) Find the appropriate velocity to hit the target for =5 (you may solve this by hand), and include your answer as a comment in your code. On canvas, you will find a file called dartboard.m. This is a function m-file, and gives you access to a user-written function (written by me!). Move this file to the directory of your homework file and it will give access to the function dartboard(v,). dartboard(v,) is a function that returns the y-position of the dart as it hits the board 2.37 meters away. The difference between this file and the work you did above is that this file accounts for the effects of air resistance by numerically solving the appropriate 2nd order non-linear differential equation as a part of its execution. Feel free to open the file in Matlab to examine it if you wish (note: you do not need to open this file or view its code to solve this problem). b) Use any of the 4 root finding methods that we learned this week to solve for the correct velocity to hit the target at an angle of 5. Choose your own initial conditions and your own tolerance. This problem will also not be auto-graded. c) Comment on the effects of air resistance on the required velocity to hit the target. In other words, compare the answers of part a) and part b), and explain how that is consistent with what youd expect.

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!