f(x)=x^2

f(x)=x^3

f(x) = x^(3.0)
k = 2 (slider from -3 to 3, step 0.1)
g(x) = k * f(x)