Hello
I am trying to find the solution of an equation for many values in a sequence this is the code that i am using but it doesnt give any result.
eq = x^2 - 5;
c = Last[Solve[eq == 1, x]]
Do[Last[Solve[eq == a, x]], {a, 10}]
For[i = 1, i < 11, i++, Solve[eq == a, x]]
I have tried to do the loop with the function For and the function Do but still i dont get anywhere, also afterwards i would like to save just the positive solution and plot it.
i hope you could help me
Thanks and Regards
Gregorio