This is EJS version of [url=http://www.phy.ntnu.edu.tw/ntnujava/index.php?topic=51.0]vector addition[/url].

The applet shows how vector $\vec{C}=\vec{A}+\vec{B}$ was calculated.
1. Calculate X,Y components of vector $\vec{A},\vec{B}$,
$\vec{C}_x=\vec{A}_x+\vec{B}_x$ and    $\vec{C}_y=\vec{A}_y+\vec{B}_y$
2. If you un-check x-y mode:
The sum is equal to sum of parallel components of $\vec{A},\vec{B}$ in the direction of $vec{C}$,
$\vec{C}=\vec{A}_p +\vec{B}_p$
and the normal component of $\vec{A},\vec{B}$ always cancel out with each other. i.e.
$\vec{A}_n+\vec{B}_n=0$ or $\vec{A}_n= -\vec{B}_n$

You can select to operate in C=A+B , A=C-B or B=C-A mode.

/htdocs/ntnujava/ejsuser/2/users/ntnu/fkh/vectorsum2d_pkg/vectorsum2d.propertiesFull screen applet or Problem viewing java?Add http://www.phy.ntnu.edu.tw/ to exception site list
Press the Alt key and the left mouse button to drag the applet off the browser and onto the desktop. This work is licensed under a Creative Commons Attribution 2.5 Taiwan License
Download EJS jar file(1311kB):double click downloaded file to run it. (60 times by 31 users) , Download EJS source (28 times by 13 users) View EJS source