summaryrefslogtreecommitdiff
path: root/2702/CH3/EX3.18/Ex_3_18.sce
diff options
context:
space:
mode:
Diffstat (limited to '2702/CH3/EX3.18/Ex_3_18.sce')
-rw-r--r--2702/CH3/EX3.18/Ex_3_18.sce21
1 files changed, 21 insertions, 0 deletions
diff --git a/2702/CH3/EX3.18/Ex_3_18.sce b/2702/CH3/EX3.18/Ex_3_18.sce
new file mode 100644
index 000000000..cd456ff6d
--- /dev/null
+++ b/2702/CH3/EX3.18/Ex_3_18.sce
@@ -0,0 +1,21 @@
+// Exa 3.18
+clc;
+clear;
+close;
+// Given data
+VBE= 0.76;// in V
+VT= 0.025;// in V
+I_C= 10*10^-3;// in A
+// Formula I_C= I_S*%e^(VBE/VT)
+I_S= I_C/(%e^(VBE/VT));// in A
+disp(I_S,"The value of I_S in amp is : ")
+// Part(a) for VBE = 0.7 V
+VBE= 0.7;// in V
+I_C= I_S*%e^(VBE/VT)
+disp(I_C*10^3,"For VBE = 0.7 V , The value of I_C in mA is : ")
+
+// Part (b) for I_C= 10 µA
+I_C= 10*10^-6;// in A
+// Formula I_C= I_S*%e^(VBE/VT)
+VBE= VT*log(I_C/I_S);
+disp(VBE,"For I_C = 10 µA, The value of VBE in V is : ")