Chapter 1: Vectors, Lines and Planes
Section 1.2: Vector Arithmetic
Example 1.2.2
Normalize the vector A=3 i−4 j+2 k.
Solution
Mathematical Solution
The magnitude of the vector A=3 i−4 j+2 k is A=32+−42+22=29.
To normalize A, divide by its magnitude to obtain A/A = 329i−429j+229k.
Maple Solution - Interactive
Initialize
Tools≻Load Package: Student Multivariate Calculus
Loading Student:-MultivariateCalculus
Enter and normalize A
Enter the vector A as per Table 1.1.1. Context Panel: Evaluate and Display Inline
Context Panel: Student Multivariate Calculus≻Normalize
3,−4,2 = →normalize
Normalize via first principles
Keyboard A. (See Table 1.1.1.)
Context Panel: Assign to a Name≻A
3,−4,2→assign to a nameA
Type A Context Panel: Evaluate and Display Inline
Context Panel: Student Multivariate Calculus≻Norm
A = →norm29
Divide A by its norm.
Context Panel: Evaluate and Display Inline
A/29 =
Maple Solution - Coded
Use the Normalize command
Install the Student MultivariateCalculus package.
withStudent:-MultivariateCalculus:
Apply the Normalize command.
Normalize3,−4,2
Assign the vector to the name A.
Use the Norm command to divide A by its norm.
A≔3,−4,2:A/NormA
<< 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
Download Help Document