Chapter 9: Vector Calculus
Section 9.2: Vector Objects
Example 9.2.2
Enter as the PositionVector Rp the parametrically-defined curve xp=p cosp, yp=p sinp, p∈0,2 π. Graph the curve, and at p∈π/3,π,5 π/3, include unit tangent and principal normal vectors, and members of the field R″p.
Solution
Initialize
Install the Student VectorCalculus package and execute the BasisFormat command.
withStudent:-VectorCalculus:BasisFormatfalse:
Define R
Apply the PositionVector command.
R≔PositionVectorp cosp,p sinp
Use the PlotPositionVector command to obtain the required graph
PlotPositionVectorR,p=0..2 π,tangent,normal,pvdiff=p$2, scaling=constrained,diffoptions=width=.1,tangentoptions=width=.1,normaloptions=width=.1,points=π/3,π,5 π/3,vectornum=3
The tangent vectors are in black, the principal normal vectors in green, and the vectors representing R″ are in red. The tangent and normal options cause the unit tangent and principal normal vectors to be drawn. The pvdiff option causes derivatives of R to be drawn. Characteristics of the tangent, normal, and second derivative vectors are applied with tangentoptions, normaloptions, and diffoptions, respectively. Location of the tangent and normal vectors is controlled by the points option. Location of the derivative vectors is controlled by the vectornum option. With this number set to 3 in an interval of length 2 π, the first and last point are set at half 2 π/3=π/3 from the endpoints, and the three points themselves are separated by 2 π/3.
The PositionVector can be formed interactively via the Context Panel, but at this time there is no simplified access to the PlotPositionVector command. See Table 9.2.2(a) where the About command is applied to verify the properties of the object.
Interactive definition of a position vector
Write a free vector. Context Panel: Evaluate and Display Inline
Context Panel: Student Vector Calculus≻Conversions≻To Position Vector
Context Panel: Assign to a Name≻PV
p cosp,p sinp = →to position Vector →assign to a namePV
Write the name PV. Context Panel: Evaluate and Display Inline
Context Panel: Student Vector Calculus≻Queries≻About
PV = →about
Table 9.2.2(a) Interactive construction of a position vector
<< 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
Download Help Document