Question: When Legolas the archer fires an arrow from his bow, its position can be described through the equations: where x 0 is the initial x-position
When Legolas the archer fires an arrow from his bow, its position can be described through the equations:
where x 0 is the initial x-position [m], y 0 is the initial y-position [m], v 0 is the initial velocity [m/s], B is the launch angle [degrees], g = 9.81 m/s 2 and t is time [s].
1. Create a function that determines the x and y position of an arrow given initial conditions and a time vector are provided as inputs.
2. Create a function that plots the position of an arrow in the x-y plane given initial conditions and a time vector are provided as inputs. The plot should have axis labels and a title.
3. Create a function that can determine range (landing distance) of an arrow, given initial conditions are provided as inputs. Assume the ground is at y = 0.
4. Create a function that determines the magnitude and direction (in degrees) of velocity of an arrow given initial conditions and a time vector are provided as inputs.
xo + vo cos (0)t y = yo+vo sin (0)t- x 1 2912
Step by Step Solution
3.51 Rating (158 Votes )
There are 3 Steps involved in it
1 function xypositiontx0y0v0th g981 xx0v0cosdtht yy0v0sindtht05gt... View full answer

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