ex7-14

565 days ago by maxroot123

x = vector( [1, 0, 2]) a = vector( [2, 3, 1]) x1 = ((x*a)/(a*a)*a) x2 = x - x1 print('x1 + x2 =', x1+x2) print('x = ', x) 
       
('x1 + x2 =', (1, 0, 2))
('x = ', (1, 0, 2))
('x1 + x2 =', (1, 0, 2))
('x = ', (1, 0, 2))