# Implementing wind into projectile calculation.

## Homework Statement

Calculate distance of a rock thrown at certain angle, velocity and wind speed/direction.

## Homework Equations

I'm using this: 2(vi^2)sin(theta)cos(theta)/9.8 to calculate the distance of the throw. How could I implement a wind value and direction into this equation? This is only a 2D simulation, so the wind would only affect the x value.

Thanks for the help.

## Answers and Replies

phinds
Science Advisor
Gold Member
Forget about equations at first ... draw a diagram and see what's going on and THEN figure out how to put it into an equation.

haruspex
Science Advisor
Homework Helper
Gold Member
2020 Award
It is not a simple modification to that equation. You need to start with the differential equations of motion (ΣF=ma). In that, you will need to decide how drag affects speed. Drag force = constant x speed2 is usual.

It is not true that wind only affects the horizontal movement. It also slows vertical descent.