Let A 7i 8j 10k B 8i 5j 3k and C 2i 6j 4k a Calcula
Let A = 7i + 8j + 10k, B = 8i + 5j + 3k, and C = 2i + 6j + 4k. a. Calculate the unit normal u_n to the plane of A and B. b. Calculate the projection C_n of C in the direction of u_n. c. Calculate the projection C_AB of C onto the plane of A and B. d. Use MATLAB to compute the left-hand side and the right-hand side of Equation 1.20, A times (B timesand B(A middot- C(A middot B). Submit a printout of your calculations.
Solution
PROGRAM
clc
clear all
A =[7 8 10];
B = [8 5 3 ];
C =[2 6 4];
D = cross(B,C) %cross product of B,C BxC
E = cross(A,D) %Vector triple product Ax(BxC)
F =dot(A,C)
G =dot(A,B)
H= B*F
I=C*G
J=H-I % B(A.C)-C(A.B)
