Check out more of Peter's Apps.

Remember that for a vector V with an angle θ, the x-component V_{x} = V cos(θ) and the y-component V_{y} = V sin(θ)