Richtige Ableitung zeigen

f_3(x) = 1.0 / 8.0 * x^(4.0) - x^(2.0) + 1.0
f_1(x) = x^(3.0) - 3.0 * x + 1.0
f_4(x) = 1.0 / 16.0 * (x^(3.0) - 3.0 * x^(2.0) - 9.0 * x - 5.0) - 1.0
Funktionsnummer = 1 (slider from 1 to 4, step 1)
fa_1 = Derivative(f_1)
f_2(x) = -1.0 / 8.0 * x^(3.0) + 3.0 / 4.0 * x^(2.0) - 2.0
fa_2 = Derivative(f_2)
fa_3 = Derivative(f_3)
fa_4 = Derivative(f_4)
Ableitungsnummer = 1 (slider from 1 to 4, step 1)
a = false
fr_1 = Derivative(f_1)
fr_2 = Derivative(f_2)
fr_3 = Derivative(f_3)
fr_4 = Derivative(f_4)