Question: (velocity_of_arrow.cpp) An archer pulls back x m on a bow which has a stiffness of k N/m. The arrow has mass m gram. What is

(velocity_of_arrow.cpp)" An archer pulls back x m on a bow which has a stiffness of k N/m. The arrow has mass m gram. What is the velocity of the arrow immediately after release? Hint: Solve this problem by equating the potential energy of the bow to the kinetic energy of the arrow. potential energy of bow = 5kx2 Where k is stiffness and x is amount of the bow that is stretched. Kinetic energy of a particle is: kinetic energy of arrow = 5mv2 Where mis mass and v is velocity. Write a C++ program that prompts the user to enter input for pull back distance, stiffness and mass, and displays the velocity of arrow right after release. Assume user inputs are correct. Here is a sample run: Enter the pull back distance of bow in m: 0.75 Enter the stiffness of bow in N/m: 200 Enter the arrow's mass in g: 50 The velocity of arrow right after release is 47.4 m/s Hint: Remember to convert some units to keep it consistent, and use setprecision(n) and fixed() to print 1 decimal place
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
