Question: please help me solve this problem with a matlab code that uses the norm command. the second image is the code I already have started,

EGR 200: Computer Aided Prob Solv Engineering School of Engineering and Technology Central Michigan University (CMU) Homework Assignment 2 Submit an electronic copy of your code on the Blackboard website. Submit the source code as HW2_firstname_lastname.m. 1. [10 pts] Given the vectors P=2i+j+2k,Q=3i+4j5k, and S=4i+ j2k, compute the scalar products PQPS, and QS. Hint: Use P=[2;1;2],Q=[3;4;5], and S=[4,1,2], 2. [15 pts] Three cables are attached to the top of the tower at A. Determine the angle formed by cables AB and AC. \% Q2 A[0;48;0] B[16;0;12] C[16;0;24] AB=[16,48,12] AC=[16,48,24] Distance1 = norm (AB) Distance2 = norm(AC) angle1 =AC.AB/ Distance2 * Distance1
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
