Hello everybody, I am having some issues with mathematica : I am trying to plot a function using “Manipulation”. I can see the axis but I can not see any plot of the function. I also tried with a simple plot (without “Manipulation”) by fixing some of the parameters. Here is my code using manipulation :
Manipulate[Plot[-J1^2 - k3 + (w^2/c^2) + (-1 + (wn1^2/wn1^2 + wn2^2 - w^2), {w, 0, 10}], {J1, 1, 10}, {c, 1, 10}, {k3, 1, 10}, {wn1, 1, 100}, {wn2, 1, 10}]
And here is my code using just “Plot”:
J1 = 1; c = 2; k3 = 5; wn1 = 5; wn2 = 3; k1=2;
Plot[-J1^2 - k3 + w^2/c^2 +k1 (-1 + wn1^2/(wn1^2 + wn2^2 - w^2)), {w, 0, 10}]
If anyone can help me I would appreciate a lot.
Thank you very much in advance
edoardo