Let's say I have a function defined as a module where at the end I call up "Manipulate" as below:
a[x_]:= Module[{k},k = 2 x; Manipulate[Something[y], {y, 0, k}]
What does Mathematica complain about the variablek? It says "a variable was used where it is probably not going to be evaluated before going out of scope"
Is there any way I can fix this and achieve what I want?
