# Problem with Singularity/Stiff

I need solve this equation, but i have problems with singularity/stiff

ni = 1.4*(10^10);
q = 1.602*(10^-19);
eps = 8.854*(10^-14)*11.7;
tensione = NDSolve[{-eps*V''[x] == 10 (2/Pi) ArcTan[(x - 1/2) 10^(3)]
q*ni*Exp[V[x]] + q*ni*Exp[-V[x]], V[0] == -1, V[1] == 1}, V[x], x]

NDSolve::ndsz: At x == 2.3590299026264842*^-6, step size is effectively
zero; singularity or stiff system suspected.
`

I want eliminate or bypass the problem. Thanks for your help.

• Possible duplicate: mathematica.stackexchange.com/questions/72725/… -- You'll have to find good starting initial conditions. – Michael E2 Sep 28 '17 at 12:43
• Note also that your code does not match the formula. Which is correct? – Michael E2 Sep 28 '17 at 12:44
• Hi Michael, I guess that you are talking about Vth. However I have the same problem. But I want to thank you for the duplicate. – Amos Varca Sep 28 '17 at 13:29