k

a = 1.3 (slider from -5 to 5, step 0.05)
b = 1.5 (slider from -5 to 5, step 0.05)
c = -2 (slider from -5 to 5, step 0.05)
d = 0.6 (slider from -5 to 5, step 0.05)
g1(x) = d
g2(x) = d + a
g3(x) = d - a
f(x) = (a * sin((b * (x + c)))) + d
Nullstellen = Sequence(((k * π / b) - c, d), k, -10, 10)
p: (2 * π / b)
Maxima = Sequence(((-c) + p / 4 + ((2 * k) * π / b), d + a), k, -10, 10)
Minima = Sequence(((-c) + (3 * p / 4) + ((2 * k) * π / b), d - a), k, -10, 10)
PiMarkierung = Sequence(((k * π), 0), k, -10, 10)
bc: (b * c)
dtext = If(d  <  0, " - " + (abs(d)), " + " + d)
bctext = If(bc  <  0, " - " + (abs(bc)), " + " + bc)
ctext = If(c  <  0, " - " + (abs(c)), " + " + c)
Text1: "f(x) = " + a + " sin( " + b + "x" + bctext + " )" + dtext + "
       = " + a + " sin( " + b + "( x" + ctext + " ) )" + dtext + ""