This preview shows page 1. Sign up to view the full content.
Unformatted text preview: % this value in a variable called "peakTime". % b. How high the ball rises from the release point. Store this value in % a variable called "max_height". % % knowns and constants g = 9.81; % this is the gravity constant and is in m/s^2 initSpeed = 87; % initial speed of ball i % calculations % formula to be used is 0 = initial speed + (-)gravity(time) peakTime = initSpeed ./ g; % other formula is max height = initial speed(time) - .5(gravity)(time)^2 max_height = initSpeed .* peakTime - .5 .* g .* peakTime .^ 2;...
View Full Document
- Fall '08