Question

Using MATLAB, create three vectors a = 4i, b = 2i - 4j, and c =...

Using MATLAB, create three vectors a = 4i, b = 2i - 4j, and c = -2i + 3k, where i, j and k are unit vectors of three axes in Cartesian coordinate system. Compute |?∙(?×?)| using the predefined MATLAB commands and show that it is the volume of a parallelepiped defined by three vectors a, b and c.

Homework Answers

Answer #1

We have given 3 vectors a,b,c. The volume of parallelepiped could be found out by computing |?∙(?×?)|

Matlab code for this will be:

a = [4 0 0]

b = [2 -4 0]

c = [-2 0 3]

vol = abs(dot(a,cross(b,c))) // wlll calculate a.(b x c) and will display its magnitude

By runnig these command line by line in matlab command line editor , answer will be 48

We know Volume of a parallelepiped is base * height . Consider a,b as base and c as height

base is the product of two bottom sides

The height of the parallelopiped is orthogonal to the base, so it is the component of c onto a x b which is perpendicular to the base

matlab code

base = norm(cross(a,b)) // This will display magnitude of a x b = 16

height = abs(dot(c,cross(a,b)))/norm(cross(a,b)) // display magnitude of height = 3

base * height // yields 48

Else the volume of parallelopiped is also equal to determinant of matrix formed by 3 vectors

matlab code

z = [a;b;c] // matrix matrix formed by 3 vectors

vol = abs(det(z)) // yields 48

Hope its clear.

Know the answer?
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for?
Ask your own homework help question
Similar Questions
Find the volume of the parallelepiped determined by the vectors a, b, and c. a =...
Find the volume of the parallelepiped determined by the vectors a, b, and c. a = 2i + 4j − 4k,    b = 3i − 3j + 3k,    c = −4i + 4j + 3k ( ) cubic units
(4) If A = 5i + 4j + 2k, B = 4i – 5j + 3k,...
(4) If A = 5i + 4j + 2k, B = 4i – 5j + 3k, and C = 2i – j – 2k, determine the following: (a) AB (b) A X B (c)A (BXC) (d) The angle AXB makes with C (e) B*C (the dyadic product)
A) Find the angle between the vectors 8i-j + 4k and 4j + 2k B) Find...
A) Find the angle between the vectors 8i-j + 4k and 4j + 2k B) Find c so that the vectors 2i-3j + ck and 2i-j + 4k are perpendicular C) Find the scalar projection and the vector projection of 2i + 4j-4 on 3i-3j + k
Letu=2i−3j+k,v=i+4j−k,andw=j+k. (a) Find u × v and v × u, and show that each of those...
Letu=2i−3j+k,v=i+4j−k,andw=j+k. (a) Find u × v and v × u, and show that each of those vectors is orthogonal to both u and v. (b) Find the area of the parallelogram that has u and v as adjacent sides. (c) Use the triple scalar product to find the volume of the parallelepiped having adjacent edges u, v, and w.
Two 3D vectors, A and B , are represented in terms of the Cartesian basis unit...
Two 3D vectors, A and B , are represented in terms of the Cartesian basis unit vectors, i , j , k as follows: A=2i-3j+k B=10i+9j-4k 1) plot A and B in a Cartesian coordinate system 2) calculate A + B 3) calculate A · B using the scalar product formula 4) calculate the magnitudes of A and B 5) calculate the angle between A and B 6) calculate A x B using the determinant formula 7) show that the...
Homework #2 a) Find a vector perpendicular to the vectors 2i + 3j-k and 3i +...
Homework #2 a) Find a vector perpendicular to the vectors 2i + 3j-k and 3i + k b)Find the area of the triangle whose vertices are (2, -1,1), (3,2,1) and (0, -1,3) c)Find the volume of the parallelepiped with adjacent axes PQ, PR, and PS with P (1, -2.2), Q (1, -1.3), R (1,1,0), S (1,2,3 )
MATLAB Create a matrix E, using A and B vectors as row 1 and row 2...
MATLAB Create a matrix E, using A and B vectors as row 1 and row 2 respectively A = 10 thru 1 B = 1 thru 4.2 with ten equally spaced elements and Find the indices (row and col) within E where (prob02a, b, c, d) E = 5 E > 4 E < 1.9 E > 1 and E < 2
The three following coordinate vectors are given in unitary coordinates (in [m]): a = (5; 0;...
The three following coordinate vectors are given in unitary coordinates (in [m]): a = (5; 0; 0) b = (-1; 4; 1) c = (0; 1; 3) a) Determine the new coordinate system, giving |a|, |b|, |c|, alpha, beta and gamma. Use vector operations to obtain the values. b) Determine the metric matrix for this coordinate system, and the volume of the parallelepiped spanned by a, b, c. For the volume calculation, use the determinant of the metric matrix. c)...
(a) In unit vector notation, what is r = a - b + c if: a=5i+4j-6k,...
(a) In unit vector notation, what is r = a - b + c if: a=5i+4j-6k, b = -2i + 2j+3k, & c = 4i+3j+2k? (b) Calculate the angle between r and the positive z-axis (c) What is the component of a along the direction of b? (d) What is the component of a perpendicular to the direction of b but in the plane of a and b? I did a b and c. However, for question C I don't...
Let A, B and C are three vectors defined by A= (10 m, 30º), B= (20...
Let A, B and C are three vectors defined by A= (10 m, 30º), B= (20 m, 200º) and C= (30 m, 100º). Calculate A + B and A + B + C.Write your answer as a magnitude and direction, and in terms of the unit vectors. Make a diagram of the resultant vectors.