- Purpose
- Getting Started
- Background
- Angle between two vectors
- Vector Projection
- Area of a Triangle
- Vector Functions
- Exercises

The purpose of this lab is to use Maple to introduce you to a number of useful commands for working with vectors, including some applications. The commands come from the Maple `linalg` and `CalcP7` packages which must be loaded before any of its commands can be used.

cp /math/calclab/MA1023/Vector_start2.mws ~/My_Documents

You can copy the worksheet now, but you should read through the lab before you load it into Maple. Once you have read through the exercises, start up Maple, load the worksheet, and go through it carefully. Then you can start working on the exercises.

Computes the dot product (also known as the inner product) of two vectors.

Computes the cross product of two vectors.

Evaluates expressions involving vectors (and matrices).

Computes the norm, or length, of a vector.

where and are functions defined on some interval . From our definition of a parametric curve, it should be clear that you can always associate a parametric curve with a vector-valued function by just considering the curve traced out by the head of the vector. The

For this lab, we will assume that we have a vector-valued function that gives the position at time of a moving point in the plane. The velocity of this point is given by the derivative and the acceleration is given by the second derivative, . In many applications of curvilinear motion, we need to know the magnitude of the velocity, or the speed. This is easy to compute - just take the magnitude . If you think of the speed as the rate of change of distance along the curve, and recall that arc length is distance measured along the curve, then you have the following interpretation of the speed

where is arc length. If the speed is not zero for any value of in the interval , then it is possible to define a unit vector, that is tangent to the curve as follows.

Using this definition, you can write the velocity in the following form.

This is not the most useful form for calculating the velocity, but it does lead to a useful way of thinking about the acceleration experience by a particle moving in a curvilinear path. If the path is a straight line, acceleration depends only on whether the particle is speeding up or slowing down. In a curve, however, there is an additional acceleration, called the centripetal acceleration, that is needed to keep the particle moving on the curve. The magnitude of this acceleration depends on the speed of the car and how much the path is curving. It turns out that you can quantify this with an intrinsic property of the curve called the curvature, usually denoted , defined by the following equation.

That is, the curvature is the magnitude of the rate of change of the tangent vector with respect to arc length. For example, the curvature of a straight line is zero and it can be shown that the curvature of a circle of radius is the same for every point on the circle and is given by . The Maple

- Given the vectors
and
, and
, use Maple to compute the numeric value of the following expressions, if possible. For those that cannot be computed because they make no sense, please explain what is wrong.
- a)
- b)
- c)
- d)

- For the three parallelograms
**A**,**B**, and**C**whose vertices are:**A**-

**B**-

**C**-

- i)
- Find the area of the parallelogram (Hint:Since a parallelogram is twice a triangle check out the triangle area formula)
- ii)
- The diagonals of a parallelogram are perpendicular if and only if their diagonals are perpendicular. Show whether or not the parallelogram is a rhombus.
- iii)
- Graph the parallelogram. As an example for
**A**the plot command would be:>PLOT3D(POLYGONS([[-3,-15,-1],[0.80477,-1.597614,8.7928429],[7,13,15], [3.1952286,-0.40238569,5.207157]]),AXESSTYLE(NORMAL),AXESLABELS(x,y,z) ,VIEW(-10..10,-20..20,-1..20));

- Given the box whose dimensions are :
- a)
- Enter this plot command:
>PLOT3D(POLYGONS([[0,0,0],[3,0,0],[3,10,0],[0,10,0]], [[0,0,0],[0,10,0],[0,10,4],[0,0,4]],[[3,0,0],[3,10,0], [3,10,4],[3,0,4]],[[0,0,0],[3,0,0],[3,0,4],[0,0,4]], [[0,10,0],[3,10,0],[3,10,4],[0,10,4]],[[0,0,4],[3,0,4], [3,10,4],[0,10,4]]),AXES(NORMAL), COLOR(ZHUE), VIEW(0..10,0..10,0..10),AXESLABELS(x,y,z));

- b)
- Find the volume using geometry.
- c)
- Find the volume using the vector formula for a parallelopiped:

2006-11-20