How it works
The second vector is the target direction and must be nonzero. Scalar projection is signed; a negative value points opposite to the target vector.
Worked example
Projecting the vector (3, 4) onto (1, 2) gives the projection vector (2.2, 4.4), with a signed scalar projection of 4.92.
Cite this page
ToolOctopus. “Vector projection calculator.” Updated . https://tooloctopus.com/vector-projection-calculator.
Add an access date if your instructions require one.
Citation formatting uses citeproc-js by Frank Bennett and Citation Style Language styles. License and source code.