Original Post
Im a little confused with regards to the follwoing equations for the length of the projection. The one below makes sense, 
length = |p| cos(0) p.q = |p| |q| cos(0) p.q / |q| = |p| cos(0) length = p.q / |q| But i cant seem to fiqure out the following one. Why the divide by |w| when using the trig approach? i dont see why that is needed. 

length = |p| cos(0) p.q = |p| |q| cos(0) p.q / |q| = |p| cos(0) length = p.q / |q| But i cant seem to fiqure out the following one. Why the divide by |w| when using the trig approach? i dont see why that is needed. 