I am trying to solve the following non-linear equation:
$\frac{i e^{-x^2} \sqrt{\pi } x}{K^2}+\left(-0.131251-0.0379031 x^2-0.0151154 x^4-0.0100462 x^6+0.5 \left(0.00273859 +0.0400003 K^2\right) x^8+(0. +0.0000362178 i) x^9+0.5 \left(\text{6.72230790401107$\grave{ }$*${}^{\wedge}$-6}+0.000122761 K^2\right) x^{10}+(0. +\text{7.371834962565406$\grave{ }$*${}^{\wedge}$-8} i) x^{11}+0.5 \left(\text{3.049800199384706$\grave{ }$*${}^{\wedge}$-9}+\text{7.195529551699709$\grave{ }$*${}^{\wedge}$-8} K^2\right) x^{12}+(0. +\text{3.611964212904051$\grave{ }$*${}^{\wedge}$-11} i) x^{13}+0.5 \left(-\text{1.2612171276659422$\grave{ }$*${}^{\wedge}$-12}-\text{1.7472476684229308$\grave{ }$*${}^{\wedge}$-11} K^2\right) x^{14}+\text{2.7423509229173302$\grave{ }$*${}^{\wedge}$-15} K^2 x^{16}\right)/\left(0.0200001 K^2 x^8+0.0000613803 K^2 x^{10}+\text{3.5977647758498545$\grave{ }$*${}^{\wedge}$-8} K^2 x^{12}-\text{8.736238342114654$\grave{ }$*${}^{\wedge}$-12} K^2 x^{14}+\text{2.7423509229173302$\grave{ }$*${}^{\wedge}$-15} K^2 x^{16}\right)$
Here's the Mathematica code I used:
Solve[(I E^-x^2 Sqrt[\[Pi]] x)/
k^2 + (-0.13125090233975123 - 0.037903065816010294 x^2 -
0.015115427229185784 x^4 - 0.010046171350985062 x^6 +
0.5 (0.0027385850487922922 +
0.04000027499878133 k^2) x^8 + (0. +
0.000036217780642055754 I) x^9 +
0.5 (6.72230790401107*10^-6 +
0.00012276053475132815 k^2) x^10 + (0. +
7.371834962565406*10^-8 I) x^11 +
0.5 (3.049800199384706*10^-9 +
7.195529551699709*10^-8 k^2) x^12 + (0. +
3.611964212904051*10^-11 I) x^13 +
0.5 (-1.2612171276659422*10^-12 -
1.7472476684229308*10^-11 k^2) x^14 +
2.7423509229173302*10^-15 k^2 x^16)/(0.020000137499390665 k^2 x^8 +
0.00006138026737566407 k^2 x^10 +
3.5977647758498545*10^-8 k^2 x^12 -
8.736238342114654*10^-12 k^2 x^14 +
2.7423509229173302*10^-15 k^2 x^16) == 0, x]
where x is a complex variable and k is a real one.
I get this error message:
Solve::nsmet : This system cannot be solved with the methods available to Solve. >>
Please, I need to find x in terms of k and plot the output x versus k.
How can I use Mathematica techniques to solve this equation?


Kis a system symbol so don't use it. The black colouring warns you about this. – Szabolcs Apr 25 '14 at 19:36NSolve? – Sjoerd C. de Vries Apr 26 '14 at 06:20Manipulate[ContourPlot[Abs[expression] /. {x -> zr + I zi} // Evaluate, {zr, -4, 4}, {zi, -4, 4}, PlotPoints -> 30, Contours -> Table[c, {c, 0, 1, 0.1}], FrameLabel -> {"Re[x]", "Im[x]"}], {{k, 1}, 0.1, 5, ContinuousAction -> False, Appearance -> "Labeled"}], whereexpressionis the left hand side of the equation in yourSolve. – Stephen Luttrell Apr 26 '14 at 11:29