You are on page 1of 2

> restart:with(plots):

Warning, the name changecoords has been redefined

> f:=x->a*x^2+b*x+c;
f := x → a x2 + b x + c
> bed1:=f(0)=22;
bed1 := c = 22
> bed2:=f(100)=30;
bed2 := 10000 a + 100 b + c = 30
> bed3:=f(-100)=30;
bed3 := 10000 a − 100 b + c = 30
> sys:={bed1,bed2,bed3}:
> var:={a,b,c}:
> lsg:=solve(sys,var);
1
lsg := { c = 22, a = , b = 0}
1250
> assign(lsg);
> f(x);
x2
+ 22
1250
Grafik vorbereiten...
> display(graph,PL1,PL2,PR1,PR2);

> f(0); f(100); f(-100);


22
30
30