summaryrefslogtreecommitdiff
path: root/1658/CH18/EX18.10
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /1658/CH18/EX18.10
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 '1658/CH18/EX18.10')
-rwxr-xr-x1658/CH18/EX18.10/Ex18_10.sce16
1 files changed, 16 insertions, 0 deletions
diff --git a/1658/CH18/EX18.10/Ex18_10.sce b/1658/CH18/EX18.10/Ex18_10.sce
new file mode 100755
index 000000000..28ac21cab
--- /dev/null
+++ b/1658/CH18/EX18.10/Ex18_10.sce
@@ -0,0 +1,16 @@
+
+clc;
+//e.g 18.10
+Vbe=0.7;
+Rb=100*10**3;
+Vcc=10;
+Rc=10*10**3;
+beta=100;
+Ic=(Vcc-Vbe)/(Rc+(Rb/beta));//collector current
+disp('mA',Ic*10**3,"Ic=");
+Vce=Vcc-(Ic*Rc);//collector to emitter voltage
+disp('V',Vce*1,"Vce=");
+Ic=Vcc/Rc;
+disp('mA',Ic*10**3,"Ic=");
+Vce=Vcc;
+disp('V',Vce*1,"Vce=");