summaryrefslogtreecommitdiff
path: root/1787/CH6/EX6.14/Exa6_14.sce
diff options
context:
space:
mode:
Diffstat (limited to '1787/CH6/EX6.14/Exa6_14.sce')
-rwxr-xr-x1787/CH6/EX6.14/Exa6_14.sce20
1 files changed, 20 insertions, 0 deletions
diff --git a/1787/CH6/EX6.14/Exa6_14.sce b/1787/CH6/EX6.14/Exa6_14.sce
new file mode 100755
index 000000000..9991f6f3b
--- /dev/null
+++ b/1787/CH6/EX6.14/Exa6_14.sce
@@ -0,0 +1,20 @@
+//Exa 6.14
+clc;
+clear;
+close;
+//given data
+VCC=10;//in volt
+RC=8;//in Kohm
+Beta=40;//unitless
+IB=15;//in uA
+IB=IB*10^-3;//in mA
+// For VCE = 0 Volts
+IC=VCC/RC;//in mA
+disp(IC,"VCE=0V and IC in mA = ");
+disp("This gives a point on loasd line.");
+//For IC=0 VCE=VCC=10V :
+disp("For IC=0, VCE=VCC=10V :")
+disp("This gives another point on load line.");
+IC=Beta*IB;//in mA
+VCE=VCC-IC*RC;//in Volts
+disp("Operating point Q is ("+string(VCE)+"V,"+string(IC)+"mA)"); \ No newline at end of file