You are on page 1of 2

EGR 611 Fall 2016

HOMEWORK Week #3
DUE: September 20, 2016

1) The Coordinates of a cube are given below. Scale the cube uniformly by 0.5.

0
2
2
[P] = 0
0
2
2
[0

0
0
2
2
0
0
2
2

0
0
0
0
2
2
2
2

1
1
1
1
1
1
1
1]

2) The vertices of a wedge are given in the matrix show below. Rotate the wedge 30 CCW around
the x-axis and then 45 CW around the y-axis.

0
0
[P] = 4
4
0
[0

0
0
0
0
3
3

0
2
0
2
0
2

1
1
1
1
1
1]

3) Rotate the rectangle shown, 30 CCW about the line EF and find the new coordinates of the
rectangle.
y
F(1,4,6)
E(0,2,2)

x
z

4) Write a MATLAB or any program to allow the user to input three successive rotation angles
about the x, y, and z axes, in any order, and output the resulting composite transformation
matrix.

You might also like