The Physics Front is a free service provided by the AAPT in partnership with the NSF/NSDL.

Detail Page
«

Computer Program Detail Page

Vector Addition with Integer Components

written by
Andrew Duffy
supported by
the National Science Foundation

This simulation offers beginning students practice in two-dimensional vector addition. It is relatively simple, as the x and y components of each vector are integers. Given the magnitude and direction of two vectors, students must determine the x and y components, the length of each, and the resultant vector sum. Click on "Check Answers" to get immediate feedback; click on "Show Answers" to display all the correct responses.

See Annotations (below) for a tutorial on the topic of vector fundamentals, recommended by The Physics Front editors.

See Related Materials for a more advanced simulation on vector addition in which the components are not limited to integer values.

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.

An editor-recommended tutorial to accompany the "Vector Addition Model". It begins with very simple concept-building, then moves into detailed explanations of the math involved to determine the magnitude of a vector (both the trigonometric and the parallelogram methods).

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 October 21, 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).