blob: 21228a84266f0a5f9cc07dbb11de964367086f33 (
plain)
1
2
3
4
5
6
7
8
9
10
|
// Example 2.40 page no-127
clear
clc
T=301.6
vt=T*1000/11600
vf=50 //mV
vr=-50 //mV
k=(%e^(vf/vt)-1)/(%e^(vr/vt)-1)
printf("\nratio=%.2f\nNegative sign is oecause, the direction of \ncurrent is opposite when the diode is reverse biased",k)
|