1.4 - Exam-1 - Mehrab - Q 2, 5, 7
1.4 - Exam-1 - Mehrab - Q 2, 5, 7
1.4 - Exam-1 - Mehrab - Q 2, 5, 7
OUTPUT:
A1 =
[1, 0, 0]
[0, cos(x), -sin(x)]
[0, sin(x), cos(x)]
A2 =
[ cos(y), 0, sin(y)]
[ 0, 1, 0]
[-sin(y), 0, cos(y)]
A3 =
0 -1 0
1 0 0
0 0 1
A4 =
[1, 0, 0]
[0, cos(y), sin(y)]
[0, -sin(y), cos(y)]
A5 =
[1, 0, 0]
[0, cos(x), sin(x)]
[0, -sin(x), cos(x)]
[c1, 0, -s1, 0]
[s1, 0, c1, 0]
[ 0, -1, 0, 0]
[ 0, 0, 0, 1]
A2 =
[1, 0, 0, 0]
[0, 0, -1, 0]
[0, 1, 0, d2]
[0, 0, 0, 1]
A3 =
[c3, 0, -s3, 0]
[s3, 0, c3, 0]
[ 0, -1, 0, 0]
[ 0, 0, 0, 1]
A4 =
[c4, 0, s4, 0]
[s4, 0, -c4, 0]
[ 0, 1, 0, d4]
[ 0, 0, 0, 1]
A5 =
Output:
d2
1
t=
45
d3 =
1
For Singularity point:
x=
0
y=
0
z=
2
d2 =
1
t=
0
d3 =
-1
For x=0 and y>2:
ans =
0
y=
5
z=
2
d2 =
1
t=
90
d3 =
4