function maxheight = maxHeightofBall(Vo)
% maxHeightofBall compute maximum height of the ball, given initial
% velocity (Vo) fired straight up.
%
% consumes: 
%     Vo: number, initial velocity of ball fired straight up
% produces:
%     maxheight: number, maxheight the ball went up
%     
% examples
%     >> maxHeightofBall(12)
%     ans = 7.346
%     >> maxHeightofBall(16)
%     ans = 13.061
%     
% S. Deffler  CISC106 section 080, 10/01/2007
  
  maxheight = (Vo)^2 / (19.6);
  return;
  
end % function
