I'd just like to know if it is possible to use Manipulate for to show how the derivative of an expression such as
(-1)^(x/a)+(-1)^(x/(a+5))
varies with respect to the parameter a.
In Mathematica I can't just write derivative(equation) and get a result as I can do on-line with Wolfram|Alpha. In Mathematica I write
f[x_] := (-1)^(x/a) + (-1)^(x/(a + 7))
on one line and write
Manipulate[Plot[{Re{f'[x]]}, {x, 0, 10}, {a, 1, 10}]
on another. You guys probably know I get a plot, but I can't vary a, because I didn't write the whole thing within Manipulate.
How can I write this correctly?
f[x_, a_] := (-1)^(x/a) + (-1)^(x/(a + 7)); Manipulate[Plot[Evaluate@Re@D[f[x, a], x], {x, 0, 10}], {a, 1, 10}]– corey979 Nov 19 '16 at 16:06