Acercar

Alejar

a_5 x⁵

a_4 x⁴

a_3 x³

a_2 x²

a_1 x

a_0

a_5 = 1 (slider from -9 to 9, step 0.1)
a_4 = 0 (slider from -9 to 9, step 0.1)
a_3 = 0 (slider from -9 to 9, step 0.1)
a_2 = 0 (slider from -9 to 9, step 0.1)
a_1 = 0 (slider from -9 to 9, step 0.1)
a_0 = 0 (slider from -9 to 9, step 0.1)
f(x) = (a_5 * x^(5)) + (a_4 * x^(4)) + (a_3 * x^(3)) + (a_2 * x^(2)) + (a_1 * x^(1)) + (a_0 * x^(0))
a5 = false
a4 = false
a3 = false
a2 = false
a1 = false
a0 = false
f5(x) = (a_5 * x^(5))
f4(x) = (a_4 * x^(4))
f3(x) = (a_3 * x^(3))
f2(x) = (a_2 * x^(2))
f1(x) = (a_1 * x)
f0(x) = a_0 + (0 * x)
b4 = If(a_4  <  0, (("(" * a_4) * ")"), ("" * a_4))
b3 = If(a_3  <  0, (("(" * a_3) * ")"), ("" * a_3))
b2 = If(a_2  <  0, (("(" * a_2) * ")"), ("" * a_2))
b1 = If(a_1  <  0, (("(" * a_1) * ")"), ("" * a_1))
b0 = If(a_0  <  0, (("(" * a_0) * ")"), ("" * a_0))
texto1: "\fgcolor{006699}{f(x)} =\fgcolor{6600cc}{" + (LaTeX[a_5]) + " x^5}+\fgcolor{ff33cc}{" + (LaTeX[b4]) + " x^4}+\fgcolor{339900}{" + (LaTeX[b3]) + " x^3}+\fgcolor{cc9900}{" + (LaTeX[b2]) + " x^2}+\fgcolor{ff6600}{" + (LaTeX[b1]) + " x}+\fgcolor{cc0000}{" + (LaTeX[b0]) + "}"