Show a*f(x)

Show f(kx)

f(x) = 3.0 * exp(-1.0 * (0.5 * x - 1.0)^(2.0)) * sin(x)
A = Point(f)
B = Point(f)
C = Point(f)
a = 0.8 (slider from -2 to 2, step 0.1)
k = 0.8 (slider from -2 to 2, step 0.1)
g(x) = a * f(x)
h(x) = f(k * x)
c = false
d = false