summaryrefslogtreecommitdiff
path: root/2330/CH5/EX5.5/ex5_5.sce
diff options
context:
space:
mode:
Diffstat (limited to '2330/CH5/EX5.5/ex5_5.sce')
-rwxr-xr-x2330/CH5/EX5.5/ex5_5.sce19
1 files changed, 19 insertions, 0 deletions
diff --git a/2330/CH5/EX5.5/ex5_5.sce b/2330/CH5/EX5.5/ex5_5.sce
new file mode 100755
index 000000000..c4792accf
--- /dev/null
+++ b/2330/CH5/EX5.5/ex5_5.sce
@@ -0,0 +1,19 @@
+// Example 5.5
+format('v',5)
+clc;
+clear;
+close;
+// given data
+Vz= 10;// in V
+V_BE= 0.7;// in V
+V_CC= 30;// in V
+R_E= 5;// in kΩ
+R_E= R_E*10^3;//in Ω
+R_C= 4;// in kΩ
+R_C= R_C*10^3;//in Ω
+V_E= Vz-V_BE;// in V
+I_E= V_E/R_E;// in A
+I_C= I_E;// in A
+// The collector voltage
+V_C= V_CC-I_C*R_C;// in V
+disp(V_C,"The collector voltage in volts is : ")