f = 1 (slider from -5 to 5, step 1)
g(x) = 3.0 * sin(f * x)
Text1: "f(t) = 3 sin (" + f + " t)"