Cosine Formula

cos(θ+φ)=cos(θ)cos(φ)sin(θ)sin(φ)