%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%  Solution to 
%  Achieving a Common Viewpoint: Yaw, Pitch, and Roll
%  Dianne P. O'Leary and David A. Schug
%  Computing in Science and Engineering
%
%  solution.m   06/2004
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

figure(1)
disp('Problem 2')
problem2
disp('Problem 4')
problem4
print -depsc prob2_4.eps

figure(2)
disp('Problem 6')
problem6
print -depsc prob6.eps

disp('Problem 7')
problem7
