Mathedu Courses logo

Mathedu Courses

If you see this, something is wrong

Table of contents

First published on Friday, Aug 28, 2026 and last modified on Tuesday, Sep 1, 2026

Lecture 2 - Solution of Some Systems

Fabienne Chaplais Email

1 Lecture 2

\[ \left\{ \begin{matrix} x&-&y&=&800\\ x&+&y&=&1,000 \end{matrix} \right. \]
from numpy import *
from matplotlib.pyplot import *

x=arange(-100,2000,100)
y1=x-800 #x-y=800
y2=1000-x  #x+y=1000

plot(x,y1,'b',label='x-y=800')
plot(x,y2,'r',label='x+y=1000')

plot(900,100,'ko',markersize=5,label='Solution')

legend()
grid()
from numpy import *
from matplotlib.pyplot import *

x=arange(-2,6,0.01)
y=24-28*x+8*x**2

plot(x,y,'b',label='$24-28x+8x^2$')

plot(1,4,'ko',markersize=5)
plot(2,0,'ko',markersize=5)
plot(3,12,'ko',markersize=5)

grid()
legend()

Discussion: login to participate.