summaryrefslogtreecommitdiff
path: root/2183/CH7/EX7.7/Ex_7_7.sce
blob: 49547776bd2c034d97229b4ea4bfa2a921ee1a42 (plain)
1
2
3
4
5
6
7
8
// Example 7.7 //width  of deplition region
clc;
clear;
close;
n=70;//efficinecy
absc=10^5;//cm^-1
W=(2.303*-log10(1-(n/100)))/(absc);//in meter
disp(round(W*10^6),"deplition width in micro meter is")