This following applet is [b]EJS version of Vector addition (sum of two vectors)[/b]
Created by prof Hwang Modified by Ahmed
Original project [url=http://www.phy.ntnu.edu.tw/ntnujava/index.php?topic=1247.0]EJS version of Vector addition (sum of two vectors)[/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/37048/users/br/ahmed/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(1378.5kB):double click downloaded file to run it. (28 times by 13 users) , Download EJS source (6 times by 4 users) View EJS source  