p4_12 Subroutine

public subroutine p4_12()

Modify program ball from Example 4-7 to read in the initial velocity with which the ball is thrown. After modifying the program, run it with initial velocities of 10, 20, and 20 m/sec. What effect does changin the initial velocity have on the range of the ball? What effect does it have on the best angle theta at which to throw the ball?

Arguments

None

Contents

None