When Legolas the archer fires an arrow from his bow, its position can be described through the
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 [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.
University Physics With Modern Physics
ISBN: 978-0073513881
2nd edition
Authors: Wolfgang Bauer, Gary Westfall