Question: Task 1.1: Vector Analysis a) We are given the following two vectors x, y represented in rectangular coordinates and spherical coordinates, respectively. x = 2a,

Task 1.1: Vector Analysis a) We are given the following two vectors x, y represented in rectangular coordinates and spherical coordinates, respectively. x = 2a, + 3a, +4a y = 2a, + 3a, + 4a, (r = 2,8 = 3, 6 = 4, in radian) Spherical coordinates Use MATLAB to find their dot product and cross product, and represent the results in the rectangular coordinate system. Hint: You may transform vector y into rectangular coordinates first using the relations in Table 1.1, and then conduct the dot product and cross product of x and y in the rectangular coordinate system. Table 1.1: Coordinates transformation Rectangular to cylindrical p= V22 + y2,6 = tan! Cylindrical to rectangular r = pcos , y = psin , 2 = 3 Rectangular to spherical r = Vr2 + y2 + z2,0 = cos? o = tan Vr2 + y2 +27 Spherical to rectangular r = r sin cos, yrsin Osino, = r cos 2 MATLAB D=dot(x, y) C=cross(x, y)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
