Here I'm solving two simultaneous to get different values of the roots depending upon another variable 'x'. I've written up to the following using 'Find Root'
g[x_] = 2*x;
f1[p_, q_] = 2*g[x]*p^4 + q^2;
f2[p_, q_] = 5 p^2 + q - g[x];
For[x = 0, x < 10, x = x + 1,
Print[{p, q, x} /.
FindRoot[{f1[p, q] - 5 == 0, f2[p, q] - 10 == 0}, {{p, 5}, {q, 1}}]]];
Now can I export this in a data file (three column)?
Export
? $\endgroup$