Příklady z matematiky

                    2( x+y ) -5( y-x ) = 17

             3( x+2y ) +7( 3x+5y) = 7

                    2x + 2y – 5y +5x = 17

               3x + 6y + 21x + 35y = 7

                                    7x – 3y = 17  / (24)

                                24x + 41y = 7  / (-7)  

                              168x – 72y = 408

                           -168x – 287y = -49

                                       -359y = 359

                                                y = -1

 

x =                   = 2

 

 

L1 = 2(2-1)- 5(-1-2) =17

P1 = 17

 

L2 = 3(2+2(-1)) + 7 (3 .2 + 5 (-1)) = 7

P2 = 7

 

 

 

                                 P = [ 2 ;  -1 ]