Al Khwarizmi löst quadratische Gleichungen ( um 800 n. Chr.)
Author: Prof. Dr. Dörte Haftendorn

x^2+p x=q

blaue Strecke = p/4

blaues Kreuz = q

xx ist Lösung

Ha 06

Visualisierung von Al-Khwarizmi

grünes Quadrat = 

q + \frac{p^2}{4}

q = 24 (slider from 0 to 36, step 0.1)
p = 10 (slider from 0 to 20, step 0.01)
hq: p^(2.0) / 4.0 + q
O = Intersect(xAxis, yAxis)
A: (sqrt(hq), 0.0)
B: (x(A), x(A))
C: (0.0, x(A))
D: (x(A) - p / 4.0, 0.0)
E: (0.0, x(A) - p / 4.0)
F: (x(A) - p / 4.0, x(A) - p / 4.0)
a = Line(E, xAxis)
b = Line(D, yAxis)
c = Line(C, a)
d = Line(A, b)
G: (0.0, p / 4.0)
e = Line(G, xAxis)
H: (p / 4.0, 0.0)
f = Line(H, yAxis)
I = Intersect(f, c)
J = Intersect(f, a)
K = Intersect(f, e)
L = Intersect(b, e)
M = Intersect(d, e)
N = Intersect(c, b)
P = Intersect(a, d)
qkreuz, d_1, l, m, p_1, f_1, xx, i, j, e_1, g, k, h = Polygon(D, L, M, P, F, N, I, J, E, G, K, H)
T1: "x^2 + " + p + "  x = " + qkreuz
R, o, a_1, b_1, c_1 = Polygon(O, A, B, C)
S, k_1, j_1, f_2, l_1 = Polygon(K, J, F, L)
Text3: " = " + hq