Advertisement
Guest User

Untitled

a guest
Oct 31st, 2014
127
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.72 KB | None | 0 0
  1. #+NAME: sys5
  2. #+HEADER: :exports both
  3. #+BEGIN_SRC maxima :results raw
  4. programmode: false;
  5. solution: triangularize(coefmatrix(
  6. [ -3*x - 11*y + 7*z = 0,
  7. 2*x + 6*y - 2*z = 0,
  8. x + 2*y + z = 0],
  9. [x, y, z]));
  10. print(solution);
  11. #+END_SRC
  12.  
  13. # (1)
  14. #+RESULTS: sys5
  15. : [ - 3 - 11 7 ]
  16. : [ ]
  17. : [ 0 4 - 8 ]
  18. : [ ]
  19. : [ 0 0 0 ]
  20. # (2)
  21. #+BEGIN_EXAMPLE
  22. [ - 3 - 11 7 ]
  23. [ ]
  24. [ 0 4 - 8 ]
  25. [ ]
  26. [ 0 0 0 ]
  27. #+END_EXAMPLE
  28.  
  29. Triangulated matrix of the above solution dosn't have pivot in the third
  30. column, thus it doesn't have a unique solution.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement