Chapter 1: Vectors, Lines and Planes
Section 1.2: Vector Arithmetic
|
Example 1.2.7
|
|
Draw the parallelogram of addition for the sum of and .
|
|
|
|
Solution
|
|
|
Mathematical Solution
|
|
•
|
The requisite parallelogram of addition is shown in Figure 1.2.7(a).
|
•
|
There are three (position) vectors whose tails are at the origin. The red arrow represents the vector A; the green, B; and the black, the resultant .
|
•
|
The translate of A, also in red, has its tail at the tip of B. The translate of B, also in green, has its tail at the tip of A.
|
|
>
|
use plots, Student:-LinearAlgebra in
module()
local p1,p2;
Student:-SetColors(red,green,gray,yellow):
p1:=VectorSumPlot(<3,-4>,<2,5>,caption="");
p2:=display(p1,labels=[x,y]);
print(p2);
end module:
end use:
|
|
Figure 1.2.7(a) Parallelogram of addition
|
|
|
|
|
|
|
|
Maple Solution - Interactive
|
|
Table 1.2.7(a) provides a solution via the
task template, itself an implementation of the VectorSumPlot command in the Student LinearAlgebra package. Unfortunately, the default colors are not optimal and are best changed before the task template is used. A command to change these colors is executed when the button in the first sentence of this paragraph is pressed.
Tools≻Tasks≻Browse: Linear Algebra≻Visualizations≻Vector Sum Plot
|
Plot the Sum of Vectors
|
Vectors (2 or more):
Sum first
=
Resultant =
|
|
|
|
|
Table 1.2.7(a) The Vector Sum Plot task template
|
|
|
|
|
Maple Solution - Coded
|
|
Executing the following two commands will generate Figure 1.2.7(a).
|
|
|
|
|
|
<< Previous Example Section 1.2
Next Example >>
© Maplesoft, a division of Waterloo Maple Inc., 2024. All rights reserved. This product is protected by copyright and distributed under licenses restricting its use, copying, distribution, and decompilation.
For more information on Maplesoft products and services, visit www.maplesoft.com
|