a
x
y z
A
B
2. Find the vector B from the origin to the opposite corner that lies in the xy plane.
3MATLAB. Given two vectors A = 3ux + 4uy + 5uz and B = -5ux + 4uy - 3uz, find C
= A + B and D = A - B. In addition, carefully illustrate these vectors using MATLAB.
4MATLAB. Using the vectors defined in 3, evaluate A x B and A x B. Check your answer with MATLAB.
5MATLAB. Given two vectors A = ux + uy + uz and B = 2ux + 4uy + 6uz, find C = A + B and D = A - B. In addition, carefully illustrate these vectors using MATLAB.
6MATLAB. Using the vectors defined in 5, evaluate A x B and B x A. Check your answer with MATLAB.
7MATLAB. Using MATLAB, write a program to convert degrees C to degrees F. Plot the results.
8MATLAB. Using MATLAB, write a program to convert a yard stick to a meter stick.
Plot the results.
9MATLAB. Using MATLAB, plot y = e-x on a linear and a semilog graph.
10MATLAB. Using MATLAB, plot two cycles of y = cos(x) on a linear and a polar graph.
11MATLAB. Using MATLAB, carefully plot a vector field defined by A = y2ux - xuy in the region - 2 < x < + 2, - 2 < y < + 2. The length of the vectors in the field should be proportional to the field at that point. Find the magnitude of this vector at the point (3, 2).
12MATLAB. Using MATLAB, carefully plot a vector field defined by in the
A = sin x ux – sin y uy in the region 0 < x < S, 0 < y < S. The length of the vectors in the field should be proportional to the field at that point. Find the
magnitude of this vector at the point ( 2 S,
2 S).
13MATLAB. Find the scalar product of the two vectors defined by
A = 3ux + 4uy + 5uz and B = -5ux + 4uy - 3uz. Determine the angle between these two vectors. Check your answer using MATLAB.
14MATLAB. Find the scalar product of the two vectors defined by
A = ux + uy + uz and B = 2ux + 4uy + 6uz. Determine the angle between these two vectors. Check your answer using MATLAB.
15MATLAB. Find the projecthetion of a vector from the origin to a point defined at (1,2,3) on the vector from the origin to a point defined at (2,1,6). Find the angle between these two vectors. Check your answer using MATLAB.
16MATLAB. Find the vector product of the two vectors defined by
A = 3ux + 4uy + 5uz and B = -5ux + 4uy - 3uz. Check your answer using MATLAB.
17MATLAB. Find the vector product of the two vectors defined by
A = ux + uy + uz and B = 2ux + 4uy + 6uz. Check your answer using MATLAB.
18MATLAB. Express the vector field A = 3ux + 4uy + 5uz in cylindrical coordinates.
Check your answer using MATLAB.
19MATLAB. Express the vector B = 3ur + 4uI + 5uz that is in cylindrical coordinates into Cartesian coordinates. Check your answer using MATLAB.
20MATLAB. Express the vector field A = 3ux + 4uy + 5uz in spherical coordinates.
Check your answer using MATLAB.
21MATLAB. Express the vector B = 3uU + 4uT + 5uI that is in spherical coordinates into Cartesian coordinates. Check your answer using MATLAB.
22MATLAB. For the vectors A = ux + uy + uz, B = 2ux + 2uy + 2uz, and
C = 3ux +3uy + 3uz; show that A x (B x C) = B(A • C) - C(A • B). Check your answer using MATLAB.
23MATLAB. For the vectors A = ux + 3uy + 5uz, B = 2ux + 4uy + 6uz, and
C = 3ux +4uy + 5uz; show that A x (B x C) = B(A • C) - C(A • B). Check your answer using MATLAB.
24MATLAB. Find the area of the parallelogram using vector notation. Compare your result with that found graphically.
25MATLAB. Show that we can use the vector definitions A • B = 0 and A x B = 0 to express that two vectors are perpendicular and parallel to each other respectively.
26MATLAB. Let A = -2ux + 3uy + 4uz; B = 7ux + 1uy + 2uz; and
C = -1ux + 2uy + 4uz. Find (a) A x B. (b) (A x B) • C. (c) A • (B x C).
27. Calculate the work required to move a mass m against a force field F = 5ux + 7uy along the indicated direct path from point a to point b.
5
10 x y
0 5
0 a
b
28. Calculate the work required to move a mass m against a force field F = yux + xuy along the path abc and along the path adc. Is this field conservative?
5
10 x
0 5
0 a b
d c
29. Calculate the work required to move a mass m against a force field F = rur + rIuI along the path abc.
y
-2 0 +2 x
a b
c
30. Calculate the work required to move a mass m against a force field F = rIuI if the radius of the circle is a and 0 I 2ʌ.
31. Calculate the closed surface integral
³
A x ds if A = xux + yuy and the surface is the surface of a cube.Then apply divergence theorem to solve the same integral.
x
y z
2
32. Evaluate the closed surface integral of the vector
A = xyz ux + xyz uy + xyz uz over the cubical surface shown in Problem 31.
33 Evaluate the closed surface integral of the vector A = 3 uU over the spherical surface that has a radius a.
34. Find the surface area of a cylindri-cal surface by setting up and evaluat-ing the integral
³
Axds wherez
r u
u
A 1 2 .
L a
35. A hill can be modeled with the equation H = 10 - x2 - 3y2 where H is the elevation of the hill. Find the path that a frictionless ball would take in order that it experienced the greatest change of elevation in the shortest change of horizontal position. Assume that the motion of the ball is unconstrained.
36. Find the gradient of the function H = x2yz and also the directional derivative of H specified by the unit vector u = a (ux + uy + uz) where a is a constant at the point (1, 2, 3). State the value for the constant a.
37. By direct differentiation show that ¸¸
¹
¨¨ ·
©
§
U
¸¸¹
¨¨ ·
©
§
U 1
1 '
where
x x'2 y y'2 z z'2U
and ' denotes differentiation with respect to the variables x', y', and z'.
38. Calculate the divergence of the vector
A = x3y sin (Sz) ux + xy sin (Sz) uy + x2y2z2 uz at the point (1,1,1).
39. Show that the divergence theorem is valid for a cube located at the center of a Cartesian coordinate system for a vector
A = xux + 2uy.
x
y z
2a
40. Show that the divergence theorem is valid for a sphere of radius a located at the center of a coordinate system for a vector A = U uU .
0. A small paddle wheel with its axis parallel to the z axis is inserted into the channel and is free to rotate. Find the relative rates of rotation at the points
¸¹
Will the paddle wheel rotate if its axis is parallel to the x axis or the y axis?
0
a x
y z
42. Evaluate the line integral of the vector function A = x ux + x2y uy + xyz uz around the square contour C. Integrate x A over the surface bounded by C. Show that this example satisfies Stokes's theorem.