Mathematica 9 is now available
Student Support Forum
Student Support Forum: 'Manipulate[] predefined variable, TrackedSymbols?' topicStudent Support Forum > General > "Manipulate[] predefined variable, TrackedSymbols?"

Help | Reply To Topic
Author Comment/Response
05/14/12 8:49pm

I think an example would show best what I am asking. I define a variable to a constant value, but later want to have a Slider in Manipulate that would change it, and consequently change the plot that the Manipulate is plotting. This does not seem to be working; any suggestions?


a = 550;
b = 540;
c = (a - b)/ x;
d = c/10;

Plot[d, {x, 0, 100}],
{{a, 0, "a"}, -100, 600, 1, Appearance -> "Open"}, LocalizeVariables -> False, TrackedSymbols :> {x, a}

URL: ,
Help | Reply To Topic