Die Summe stehender Wellen

Klavier etwa: 1 / 0,2 / 0,2 / 0,2

Violine etwa:  0,5 / 0,5 / 1 / 0,7

d = 0.7 (slider from 0 to 1, step 0.01)
f3(x) = d * sin(4.0 * x) - 3.0
c = 1 (slider from 0 to 1, step 0.01)
f2(x) = c * sin(3.0 * x)
b = 0.5 (slider from 0 to 1, step 0.01)
f1(x) = b * sin(2.0 * x) + 2.5
a = 0.5 (slider from 0 to 1, step 0.01)
fo(x) = a * sin(x) + 5.0
A = Point(yAxis)
B = Point(yAxis)
g = Segment(B, A)
C = (3.14, 6)
D = (3.14, -1)
fs(x) = f1(x) + fo(x) + f2(x) + f3(x) - 4.0
f1s = If(x > 0.0 ∧ x < 3.0 * 3.141592653589793, f1)
f2s = If(x > 0.0 ∧ x < 3.0 * 3.141592653589793, f2)
f3s = If(x > 0.0 ∧ x < 3.0 * 3.141592653589793, f3)
fos = If(x > 0.0 ∧ x < 3.0 * 3.141592653589793, fo)
fss = If(x > 5.0 * 3.141592653589793 ∧ x < 8.0 * 3.141592653589793, fs)