# Homework Help: Projectile Motion with force of air resistance

1. Nov 15, 2009

### hallowon

1. The problem statement, all variables and given/known data
In my physics class, we are launching a base ball of mass 0.14273kg 40.0m at the target point. Part of the assignment involves presenting the data obtained by our groups, and all the necesarry efficiency calculation. The other part where it is tricky is that, we have to code a computer program to solve for air resistance, and use this to calculate the initial velocity of the ball.

Most of our marks come from how much the ball deviates from the target, and how we communicate using our calculations.
2. Relevant equations
programming language actionscript 3
Fair= Kv^2
component method
Fnetx= Fairx
Fnety= Fg+Fairy

we are launching at 45 degrees angle
3. The attempt at a solution
For what I know the vertical component of the air resistance is in the same vector direction as gravity on the way up and opposite of gravity on the way down.

To find the accurate measurement, i have to use a looping statement to solve for the new velocity at each set interval.

I stop the loop when vertical displacement is 0 - not really b/c the slingshot is not starting from the ground rather about 1m up the ground.