f(x) = c x^n + b

Afgeleide van

c = 1 (slider from -5 to 5, step 0.1)
b = 0 (slider from -5 to 5, step 0.1)
n = 2 (slider from 0 to 12, step 1)
f(x) = c * x^(n) + b
f' = Derivative(f)
tekst1: "f(x) = " + c + "x^" + n + " + " + b
tekst2: "f ' (x) = " + (c * n) + "x^" + (n - 1.0)
P = Point(f)
a = OrthogonalLine(P, xAxis)
raaklijn = Tangent(P, f)
A = Intersect(f', a)
d = Slope(raaklijn)