Answer Matrix D:
[-1.40787]
[1.49657 ]
[-3.12701]
[1.000000]
Transforming the matrix D with T
Translation Matrix T:
[ 1.0...0.00...0.00...4.0]
[0.00...1.0....0.00...5.0]
[0.00...0.00...1.0....2.0]
[0.00...0.00...0.00...1.0]
Matrix Multiply TxD:
[( 1.0*-1.4 )+( 0.00*1.5 )+( 0.00*-3.1 )+( 4.0*1.0 )
[( 0.00*-1.4 )+( 1.0*1.5 )+( 0.00*-3.1 )+( 5.0*1.0 )]
[( 0.00*-1.4 )+( 0.00*1.5 )+( 1.0*-3.1 )+( 2.0*1.0 )]
[( 0.00*-1.4 )+( 0.00*1.5 )+( 0.00*-3.1 )+( 1.0*1.0 )]
Answer : (new location of point)
[2.59213]
[6.49657]
[-1.12701]
[1.00000]
Does this look right?