Original matrix:
    1.000000    0.000000    0.000000
    0.000000    2.000000    0.000000
    0.000000    0.000000    3.000000

Product of Q and R matrices:
    1.000000    0.000000    0.000000
    0.000000    2.000000    0.000000
    0.000000    0.000000    3.000000

Q matrix of the decomposition:
   -1.000000    0.000000    0.000000
    0.000000   -1.000000    0.000000
    0.000000    0.000000    1.000000

R matrix of the decomposition:
   -1.000000    0.000000    0.000000
    0.000000   -2.000000    0.000000
    0.000000    0.000000    3.000000

***********************************
press return for next problem:
Original matrix:
    1.000000    2.000000    3.000000
    2.000000    2.000000    3.000000
    3.000000    3.000000    3.000000

Product of Q and R matrices:
    1.000000    2.000000    3.000000
    2.000000    2.000000    3.000000
    3.000000    3.000000    3.000000

Q matrix of the decomposition:
   -0.267261    0.963624    0.000000
   -0.534522   -0.148250   -0.832050
   -0.801784   -0.222375    0.554700

R matrix of the decomposition:
   -3.741657   -4.008919   -4.810702
    0.000000    0.963624    1.778998
    0.000000    0.000000   -0.832050

***********************************
press return for next problem:
Original matrix:
    1.000000    2.000000    3.000000    4.000000    5.000000
    2.000000    3.000000    4.000000    5.000000    1.000000
    3.000000    4.000000    5.000000    1.000000    2.000000
    4.000000    5.000000    1.000000    2.000000    3.000000
    5.000000    1.000000    2.000000    3.000000    4.000000

Product of Q and R matrices:
    1.000000    1.999999    2.999999    4.000000    4.999999
    2.000000    3.000000    4.000000    5.000000    1.000000
    3.000000    4.000000    5.000000    1.000000    1.999999
    4.000000    5.000000    0.999999    2.000000    3.000000
    5.000000    0.999999    2.000000    3.000000    3.999999

Q matrix of the decomposition:
   -0.134840   -0.277161   -0.351340    0.467892   -0.750092
   -0.269680   -0.319801   -0.387069    0.494377    0.656330
   -0.404520   -0.362441   -0.422799   -0.723908   -0.046881
   -0.539360   -0.405081    0.732454    0.079453   -0.046881
   -0.674200    0.724882   -0.107188    0.079453   -0.046881

R matrix of the decomposition:
   -7.416199   -6.067799   -5.393599   -5.393600   -6.067799
    0.000000   -4.264014   -2.878209   -1.705606   -0.746201
    0.000000    0.000000   -4.198214   -2.620161   -1.220757
    0.000000    0.000000    0.000000    4.016809    1.942193
    0.000000    0.000000    0.000000    0.000000   -3.516054

***********************************
press return for next problem:
Original matrix:
    1.400000    2.100000    2.100000    7.400000    9.600000
    1.600000    1.500000    1.100000    0.700000    5.000000
    3.800000    8.000000    9.600000    5.400000    8.800000
    4.600000    8.200000    8.400000    0.400000    8.000000
    2.600000    2.900000    0.100000    9.600000    7.700000

Product of Q and R matrices:
    1.400000    2.099999    2.100001    7.400000    9.599998
    1.600000    1.500000    1.099999    0.700000    5.000000
    3.800000    7.999999    9.600001    5.400001    8.799998
    4.600000    8.199999    8.400001    0.400000    8.000000
    2.600000    2.899999    0.099999    9.600000    7.699999

Q matrix of the decomposition:
   -0.204472   -0.126500   -0.267185    0.701215   -0.615710
   -0.233682   -0.501530   -0.735648   -0.109596    0.375061
   -0.554996    0.568875   -0.017165    0.361839    0.486970
   -0.671837    0.099968   -0.000307   -0.576640   -0.454013
   -0.379734   -0.631549    0.622205    0.181233    0.192258

R matrix of the decomposition:
   -6.846897  -11.830175  -11.695810   -8.587833  -16.313959
    0.000000    2.521295    5.420437   -4.238126   -2.779134
    0.000000    0.000000   -1.475441    3.388234   -1.605743
    0.000000    0.000000    0.000000    8.575391    6.150247
    0.000000    0.000000    0.000000    0.000000   -1.901891

***********************************
press return for next problem: