x

y

n = 2 (slider from 1 to 10, step 1)
f(x) = (x^(2) - 2 * x)^(n)