Chapter 9: Vector Calculus
Section 9.2: Vector Objects
|
Example 9.2.6
|
|
The vertices of a triangle are A:, B:, C:. Draw the triangle with sides as vectors from A to B, B to C, and C to A.
|
|
|
|
Solution
|
|
|
Maple Solution - Interactive
|
|
Initialize
|
•
|
Tools≻Load Package: Student Vector Calculus
|
|
Loading Student:-VectorCalculus
|
•
|
Tools≻Tasks≻Browse: Calculus - Vector≻
Vector Algebra and Settings≻
Display Format for Vectors
|
•
|
Press the Access Settings button and select
"Display as Column Vector"
|
|
Display Format for Vectors
|
|
|
|
|
Define the points A, B, C as free vectors
|
•
|
Context Panel: Assign to a Name≻A
|
|
|
•
|
Context Panel: Assign to a Name≻B
|
|
|
•
|
Context Panel: Assign to a Name≻C
|
|
|
Define the rooted vectors AB, BC, CA
|
•
|
Write the appropriate difference of two free vectors.
Context Panel: Evaluate and Display Inline
|
•
|
Context Panel: Student Vector Calculus≻Conversions≻To Rooted Vector
(Enter the root point as a list of coordinates, as per the figure to the right.)
|
•
|
Context Panel: Assign to a Name≻AB, BC, CA, as appropriate
|
|
|
|
|
|
=
|
=
|
=
|
Obtain a graph of the edges of the triangle
|
•
|
Write a sequence of names of the rooted vectors.
Context Panel: Evaluate and Display Inline
|
•
|
Context Panel: Plots≻Arrows
|
|
=
|
•
|
The initial graph can be morphed into the version below by a series of interactive manipulations via the Context Panel.
|
•
|
Apply Constrained Scaling.
|
•
|
Select arrow AB. Select Style≻Polygon
Select Color to change the color of the body of the arrow to red. Repeat for arrow CA. Leave BC black.
|
•
|
Select Axes≻Properties to reset the view.
Uncheck "Use data extents" and reset the minimum and maximum values of the range.
Click "Apply" to apply the change. Repeat for the Vertical axis.
|
|
|
|
|
|
|
|
Maple Solution - Coded
|
|
Initialize
|
•
|
Install the Student VectorCalculus package and execute the BasisFormat command.
|
|
|
•
|
Define the points A, B, C as free vectors.
|
|
|
Define the rooted vectors AB, BC, CA
|
|
|
Apply the PlotVector command
|
|
|
|
|
|
|
<< Previous Example Section 9.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
|