summaryrefslogtreecommitdiff
path: root/2753/CH4/EX4.2
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /2753/CH4/EX4.2
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 '2753/CH4/EX4.2')
-rwxr-xr-x2753/CH4/EX4.2/Ex4_2.sce14
1 files changed, 14 insertions, 0 deletions
diff --git a/2753/CH4/EX4.2/Ex4_2.sce b/2753/CH4/EX4.2/Ex4_2.sce
new file mode 100755
index 000000000..6ccdd2d92
--- /dev/null
+++ b/2753/CH4/EX4.2/Ex4_2.sce
@@ -0,0 +1,14 @@
+//Example 4.2:
+clc;
+clear;
+close;
+//given data :
+Beta=100;
+Rb=200*10^3;// in ohm
+Rc=1*10^3;// in ohm
+Vcc=10;// in V
+Ib=Vcc/Rb;// in A
+Ic=Beta*Ib;//in A
+Vce=Vcc-(Ic*Rc);
+format('v',4)
+disp(Vce,"Collector to emitter voltage,Vce(V) = ")