Numerical Model of Ball Pitching