0
$\begingroup$

My Manipulate expression

Manipulate[
  Plot[100[x]^2/(T^4 (Exp[x/T] + 1)), {x, 0, 30}], 
  {T, 1, 4}]

shows an empty plot. How can I fix it?

$\endgroup$
  • 1
    $\begingroup$ 100[x]^2 is not proper syntax. Probably want 100(x)^2. Brackets [] denote function calls $\endgroup$ – Michael E2 Apr 14 at 16:44
  • $\begingroup$ Actually no bracketing around x is needed: 100 x^2/(T^4 (Exp[x/T] + 1)) works fine. $\endgroup$ – m_goldberg Apr 14 at 19:42
0
$\begingroup$

Do it this way much clearer

f[x_, t_] := (100*x^2)/(t^(4) *(Exp[x/t] + 1))


Manipulate[Plot[
f[x, t], {x, 0, 30}, Axes -> {True, True}, 
PlotRange -> {{0, 30}, {0, 50}}], {t, 1, 4}]

Result

enter image description here

$\endgroup$

Not the answer you're looking for? Browse other questions tagged or ask your own question.