Chapter 9: Vector Calculus
Section 9.2: Vector Objects
Example 9.2.3
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 members of the vector field F= −x i+y j/x2+y2.
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
Define F
Apply the VectorField command.
F≔VectorFieldx,y/x2+y2
Use the PlotPositionVector command to obtain the required graph
PlotPositionVectorR,p=0..2 π, scaling=constrained,vectorfield=F,points=π/3,π,5 π/3,vectorfieldoptions=width=.15,color=gold
The PositionVector and the VectorField 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.3(a) where the About command is applied in each case to exhibit 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
Interactive definition of a vector field
Context Panel: Student Vector Calculus≻Conversions≻To Vector Field
Context Panel: Assign to a Name≻VF
x,yx2+y2 = →to Vector Field →assign to a nameVF
Write the name VF. Context Panel: Evaluate and Display Inline
VF = →about
Table 9.2.3(a) Interactive construction of a position vector and a vector field
<< 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