I want to solve a nonlinear equation involving the Real part and imaginary part of the Exponentialintegralfunction, i.e. $\mathcal{R}[\text{Ei}[a(1+ib)]]$ and some other complicated terms. As it is not possible to solve my problem analytically, I wanted to use NSolve...but it doesnt work. The thing is: If i look at my plot, the solution is very evident. How can i solve this problem?
The explicit form i want to solve is
E^(t (0.001998 Im[ExpIntegralEi[0.001 (1 + I t)]] + (
2 (t Cos[0.001 t] - Sin[0.001 t]))/(1 + t^2)) +
2000. (-1 + (Cos[0.001 t] + t Sin[0.001 t])/(1 + t^2)) -
999. (-2.01265 - 0.001998 Re[ExpIntegralEi[0.001 (1 + I t)]] + (
2 (Cos[0.001 t] + t Sin[0.001 t]))/(
1 + t^2))) (-E^(-t (0.001998 Im[
ExpIntegralEi[0.001 (1 + I t)]] + (
2 (t Cos[0.001 t] - Sin[0.001 t]))/(1 + t^2)) -
2000. (-1 + (Cos[0.001 t] + t Sin[0.001 t])/(1 + t^2)) +
999. (-2.01265 - 0.001998 Re[ExpIntegralEi[0.001 (1 + I t)]] + (
2 (Cos[0.001 t] + t Sin[0.001 t]))/(1 + t^2))) + 1/(1 + t^2))==0.2
Just an example...of course i want to use some different values. I can plot the r.h.s. and 'see' my result;
edit: Here is the actual command that gives me { } as solution
NSolve[{E^(t (0.001998 Im[
ExpIntegralEi[
0.001 (1 + I t)]] + (2 (t Cos[0.001 t] -
Sin[0.001 t]))/(1 + t^2)) +
2000. (-1 + (Cos[0.001 t] + t Sin[0.001 t])/(1 + t^2)) -
999. (-2.01265 -
0.001998 Re[
ExpIntegralEi[
0.001 (1 + I t)]] + (2 (Cos[0.001 t] +
t Sin[0.001 t]))/(1 +
t^2))) (-E^(-t (0.001998 Im[
ExpIntegralEi[
0.001 (1 + I t)]] + (2 (t Cos[0.001 t] -
Sin[0.001 t]))/(1 + t^2)) -
2000. (-1 + (Cos[0.001 t] + t Sin[0.001 t])/(1 + t^2)) +
999. (-2.01265 -
0.001998 Re[
ExpIntegralEi[
0.001 (1 + I t)]] + (2 (Cos[0.001 t] +
t Sin[0.001 t]))/(1 + t^2))) + 1/(1 + t^2)) ==
0.2 && 0 < t < 50 }, t]
The Plot suggest that the solution lies at about $t\approx 30$ Thanks already!