# data[].attributes.body
f(x)=2(x+1)(x-2)
c = -4
a = 2
b = -2

# data[].attributes.body
f(0) = -4
c= -4
Symmetrilinje: 0,5
Så
-b/2 = 0,5
b= -1

f(2) = 0
0 = a*2^2 -2 -4
a=3/2

# data[].attributes.body
f(2)=0

# data[].attributes.body
f(-1)=0
f(2)=0
c=-4
a-b-4=0
4a+2b+4=0
a=4+b
6b=-12
b=-2
a=2

# data[].attributes.body
y (0) = c = -4

Nollställen vid y (-1) & y (2)

0 = ax^2 + bx -4

4a + 2b = 4
a-b= 4

a = b+4

4b+16+2b =4

6b = -12

b=-2
a=2

# data[].attributes.body
f(x)=k(x+1)(x-2)
f(0)=-4 --> k=2
f(x)=2(x+1)(x-2)
a=2
b=-2
c=-4

# data[].attributes.body
2x^2-2x-4
a=2
b=-2
c=-4

# data[].attributes.body
a - b - 4= 0 --> a = b + 4
4a + 2b - 4 = 0
4b + 16 + 2b - 4 = 0 --> 6b = -12 --> b = -2
a = -2 + 4 = 2

a = 2
b = -2
c = -4