Chapter 9: Vector Calculus
Section 9.7: Conservative and Solenoidal Fields
Example 9.7.8
Find a scalar potential for .
Solution
Mathematical Solution
To implement Recipe 1, Table 9.7.4, form and evaluate the following integrals.
=
The constants , and can be taken as zero, so the simplest scalar potential for F is then
Maple Solution - Interactive
Table 9.7.8(a) provides a solution via the ScalarPotential command accessed through the Context Panel.
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 vector field F
Enter the components of F in a free vector. Context Panel: Evaluate and Display Inline
Context Panel: Student Vector Calculus≻Conversions≻To Vector Field
Context Panel: Assign to a Name≻F
Obtain a scalar potential for F
Write the name F. Context Panel: Evaluate and Display Inline
Context Panel: Student Vector Calculus≻Scalar Potential
Table 9.7.8(a) Solution by the ScalarPotential command accessed through the Context Panel
Table 9.7.8(b) implements Recipe 1, Table 9.7.4, and verifies that the result is consistent with the scalar potential found by Maple's ScalarPotential command.
Define the components of F as the functions , , and
Context Panel: Assign Function
Implement Recipe 1, Table 9.7.4
Calculus palette: Definite-integral operator Press the Enter key.
Context Panel: Simplify≻Simplify
Context Panel: Evaluate at a Point≻ (See the figure to the right.)
Table 9.7.8(b) Implementation of Recipe 1, Table 9.7.4
Maple Solution - Coded
Install the Student VectorCalculus package.
Set display of vectors via BasisFormat.
Define F via the VectorField command.
Use the ScalarPotential command to obtain a scalar potential for F
Table 9.7.8(c) Application of the ScalarPotential command
Table 9.7.8(d) applies Recipe 1, Table 9.7.4, to obtain the requisite scalar potential.
Use the unapply command to define the components of F as the functions , , and
Use the Int command to write the integrals of Recipe 1, Table 9.7.4
Access the top-level int command by prefixing "colon-dash" to int
Apply the simplify and eval commands to set .
Table 9.7.8(d) Implementation of Recipe 1, Table 9.7.4
<< Previous Example Section 9.7 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