Romeo

Julia

Bereich = 5 (slider from 5 to 20, step 5)
b = 2.3 (slider from 0.1 to 10, step 0.1)
a = 4.8 (slider from 0.1 to 10, step 0.1)
J_c = -0.1 (slider from -1 to 1, step 0.1)
R_c = -0.1 (slider from -1 to 1, step 0.1)
j(x) = J_c * cos(sqrt(a * b) * x) - (R_c * sqrt(b) * sin(sqrt(a * b) * x)) / sqrt(a)
r(x) = R_c * cos(sqrt(a * b) * x) + (J_c * sqrt(a) * sin(sqrt(a * b) * x)) / sqrt(b)
Romeo = Function(r, 0, Bereich)
Julia = Function(j, 0, Bereich)
minimum1 = Min(Julia, 0, Bereich)
minimum2 = Min(Romeo, 0, Bereich)
minimum = Min(y(minimum1), y(minimum2))
maximum1 = Max(Julia, 0, Bereich)
maximum2 = Max(Romeo, 0, Bereich)
maximum = Max(y(maximum1), y(maximum2))