Gerade in Normalform f(x)=mx+b
Author: Torsten Warncke
Date: 13.10.2008

Schiebe den farbigen Punkt an den Schiebereglern um
(grün) die Steigung
(blau) den y-Achsenabschnitt
zu variieren.

f(x) = mx + b

m = 1.1000000000000014 (slider from -10 to 10, step 0.1)
b = 1 (slider from -10 to 10, step 0.1)
f(x) = m x + b
links = 0
rechts = 1
A: (links, f(links))
B: (rechts, f(rechts))
a = OrthogonalLine(A, xAxis)
c = OrthogonalLine(B, xAxis)
d = OrthogonalLine(A, c)
E = Intersect(c, d)
Höhenunterschied = Segment(B, E)
Horizontalunterschied = Segment(A, E)
P, e, b_1, a_1 = Polygon(B, A, E)