Qalculate / libqalculate

Qalculate! library and CLI
https://qalculate.github.io/
GNU General Public License v2.0
1.88k stars 151 forks source link

solve variable in Shockley diode equation #657

Open howaboutuser opened 6 months ago

howaboutuser commented 6 months ago

Shockley diode equation Id=Is(e^(Vd/(nVt))-1) https://en.wikipedia.org/wiki/Shockley_diode_equation

I try to find Is and nVt, but get the following result.

1.2e-3=x(e^(.71/y)-1) and 4.52e-3=x(e^(.76/y)-1)

(1.2 10^-3) = (x (e^(0.71 / y) - 1)) and (4.52 10^-3) = (x (e^(0.76 / y) - 1))

x = 3 / (2500e^(0.71 / y) - 2500) and 0.0012e^(0.76 / y) - 0.00452e^(0.71 / y) = -0.00332