% Tony Hyun Kim

% 18.06 PS#9, Problem 6 

% A = U*S*V' verification

a = sqrt(2/(5-sqrt(5)));

b = sqrt(2/(5+sqrt(5)));



V = [-a -b;

     -b  a];



U = [-a  b;

     -b -a];

 

S = [sqrt((3+sqrt(5))/2) 0;

     0 sqrt((3-sqrt(5))/2)];

 

A = U*S*V';

% A =

% 

%     1.0000    1.0000

%     1.0000         0