written by
Andrew Duffy
supported by
the National Science Foundation

The Vector Addition with Integer Components model allows the user to split a vector into its components, and practice finding the magnitude and direction of a vector if you know the components. In this simulation the x and y components of each vector are all integers. In the "Find components" mode, you are given the magnitude and direction of the vector, and your goal is to find the x-component and the y-component of the vector. In the "Find magnitude and direction" mode, you are given the two components, and you need to find the magnitude and direction of the vector.

The Vector Addition with Integer Components model was created using the Easy Java Simulations (EJS) modeling tool. It is distributed as a ready-to-run (compiled) Java archive. Double clicking the ejs_bu_vector_components_integer.jar file will run the program if Java is installed.

Please note that this resource requires
at least version 1.5 of
Java (JRE).

Vector Addition with Integer Components Source Code
The source code zip archive contains an XML representation of the Vector Addition with Integer Components model. Unzip this archive in your EJS workspace to compile and run this model using EJS. download 7kb .zip
Published: April 25, 2010
previous versions

6-8: 11B/M2. Mathematical models can be displayed on a computer and then modified to see what happens.

9-12: 11B/H2. Computers have greatly improved the power and use of mathematical models by performing computations that are very long, very complicated, or repetitive. Therefore, computers can reveal the consequences of applying complex rules or of changing the rules. The graphic capabilities of computers make them useful in the design and simulated testing of devices and structures and in the simulation of complicated processes.

A. Duffy, Computer Program VECTOR ADDITION WITH INTEGER COMPONENTS (2010), WWW Document, (http://www.compadre.org/Repository/document/ServeFile.cfm?ID=10010&DocID=1643).

A. Duffy, Computer Program VECTOR ADDITION WITH INTEGER COMPONENTS (2010), <http://www.compadre.org/Repository/document/ServeFile.cfm?ID=10010&DocID=1643>.

Duffy, A. (2010). Vector Addition with Integer Components [Computer software]. Retrieved June 25, 2016, from http://www.compadre.org/Repository/document/ServeFile.cfm?ID=10010&DocID=1643

%0 Computer Program %A Duffy, Andrew %D April 16, 2010 %T Vector Addition with Integer Components %8 April 16, 2010 %U http://www.compadre.org/Repository/document/ServeFile.cfm?ID=10010&DocID=1643

Disclaimer: ComPADRE offers citation styles as a guide only. We cannot offer interpretations about citations as this is an automated procedure. Please refer to the style manuals in the Citation Source Information area for clarifications.

The Easy Java Simulations Modeling and Authoring Tool is needed to explore the computational model used in the Vector Components with Integer Components.

A more complex version of the same simulation that gives students more practice in two-dimensional vector addition (components are not limited to integer values).