summaryrefslogtreecommitdiff
path: root/317/CH7/EX7.8/example8.sce
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /317/CH7/EX7.8/example8.sce
downloadScilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.gz
Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.bz2
Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.zip
initial commit / add all books
Diffstat (limited to '317/CH7/EX7.8/example8.sce')
-rwxr-xr-x317/CH7/EX7.8/example8.sce25
1 files changed, 25 insertions, 0 deletions
diff --git a/317/CH7/EX7.8/example8.sce b/317/CH7/EX7.8/example8.sce
new file mode 100755
index 000000000..bff4181d8
--- /dev/null
+++ b/317/CH7/EX7.8/example8.sce
@@ -0,0 +1,25 @@
+// find the 2 values of output voltage
+// Electronic Principles
+// By Albert Malvino , David Bates
+// Seventh Edition
+// The McGraw-Hill Companies
+// Example 7-8, page 236
+
+clear;clc; close;
+
+// Given data
+Vcc=5;// collector supply voltage in volts
+Vbb=10;// base voltage in volts
+Rc=1*10^3;// collector resistance in ohms
+Rb=10*10^3;// base resistance in ohms
+Bdc=50;// current gain
+Vcesat=0.15;// saturation voltage in volts
+Iceo=50*10^-9;// collector leakage current in amperes
+
+// Calculations
+Vce=Vcc-(Iceo*Rc);// collector-emitter voltage in volts
+disp("Volts",Vcesat,"Output voltage")
+disp("Volts",Vce,"Output voltage")
+
+// Result
+// the 2 output voltages are 5 volts and 0.15 volts