1
When I execute Foobar[] and move a slider, the variable grad is printed twice. Why is this? How can I make the Manipulate only execute once on each update?
Foobar[] := Module[{f, vars, grad},
f = a x^3 - b x^2 + c y^2;
vars = {a, b, c};
With[{fman = f, controls = Apply[Sequence, {{#, 0}...