I'm trying to solve a simultaneous equations for $n$ and $k$. These 2 are functions of $w$. Then, I'd like to plot these functions dependent of $w$, but the plot shows nothing. Here is my code:
w0 = 10^16;
l = 10^14;
e0 = 1;
m = 0.02;
N1 = 10^28;
B = (w0^2 - w^2)^2 - l^2 w^2;
A = (N1 E^2)/ m e0;
sol = Solve[{n^2 - k^2 == 1 + A (w0^2 - w^2)/B, 2 n k == A l w/B}, {n,
k}];
Plot[Evaluate[n[w] /. sol], {w, 10^15, 10^17}, PlotRange -> All]
Also after I evaluate sol I get the error below:
"Solve::ratnz: Solve was unable to solve the system with inexact coefficients. The answer was obtained by solving a corresponding exact system and numericizing the result."
I'm really stuck, would appreciate your help.


