Professional Documents
Culture Documents
--> P = [2 , 0 , -1]
P =
2. 0. -1.
--> Q = [2, -1 , 2]
Q =
2. -1. 2.
--> R = [2 , -3 , 1]
R =
2. -3. 1.
--> S=P+Q
S =
4. -1. 1.
--> T=P-Q;
--> U1=S(1,2)*T(1,3)-S(1,3)*T(1,2)
U1 =
2.
--> U2=S(1,3)T(1,1)-S(1,1)*T(1,3);
U2=S(1,3)T(1,1)-S(1,1)*T(1,3);
^^
Error: syntax error, unexpected identifier, expecting end of file
--> U2=S(1,3)*T(1,1)-S(1,1)*T(1,3);
--> U3=S(1,1)*T(1,2)-S(1,2)*T(1,1);
2. 12. 4.
"(P+Q)*(P-Q) = "
--> disp(U,'(P+Q)*(P-Q) = ')
2. 12. 4.
"(P+Q)*(P-Q) = "
"P+Q)*(P-Q) = "
2. 12. 4.
--> V1=R(1,2)*P(1,3)-R(1,3)*P(1,2);
--> V2=R(1,3)*P(1,1)-R(1,1)*P(1,3);
--> V3=R(1,1)*P(1,2)-R(1,2)*P(1,1);
3. 4. 6.