diff options
Diffstat (limited to '2045/CH2/EX2.1/Ex2_1.sce')
-rwxr-xr-x | 2045/CH2/EX2.1/Ex2_1.sce | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/2045/CH2/EX2.1/Ex2_1.sce b/2045/CH2/EX2.1/Ex2_1.sce new file mode 100755 index 000000000..421264788 --- /dev/null +++ b/2045/CH2/EX2.1/Ex2_1.sce @@ -0,0 +1,29 @@ +//pagenumber 99 example 1
+clear
+q=0.01;//centimetre
+sigma1=1;//ohm centimetre inverse
+q1=0.01;//centimetre
+sigm11=0.01;//ohm centimetre inverse
+iratio=(0.0224^2*2.11*20)*3.6^2/((3.11*(4.3^2*10^-6)^2*2.6*20*10^3));
+for q=1:2
+ if q==1 then
+ un=3800;
+ up=1500;
+ q=1.6*10^-19;
+ ni=2.5*10;
+ else
+ q=1.6*10^-19;
+ up=500
+ un=1300;
+ ni=1.5*10
+end
+
+ b=un/up;
+ sigmai=(un+up)*q*ni;
+end
+disp("ratio of reverse saturation current = "+string((iratio)));//correction in the book
+
+
+
+
+
|