www.delorie.com/gnu/docs/calc/calc_51.html   search  
 
Buy the book!


GNU Emacs Calc 2.02 Manual

[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

3.7.17 Matrix Tutorial Exercise 2

 
   x + a y = 6
   x + b y = 10

Just enter the righthand side vector, then divide by the lefthand side matrix as usual.

 
1:  [6, 10]    2:  [6, 10]         1:  [6 - 4 a / (b - a), 4 / (b - a) ]
    .          1:  [ [ 1, a ]          .
                     [ 1, b ] ]
                   .

' [6 10] RET     ' [1 a; 1 b] RET      /

This can be made more readable using d B to enable "big" display mode:

 
          4 a     4
1:  [6 - -----, -----]
         b - a  b - a

Type d N to return to "normal" display mode afterwards.


  webmaster   donations   bookstore     delorie software   privacy  
  Copyright 2003   by The Free Software Foundation     Updated Jun 2003