summaryrefslogtreecommitdiff
path: root/3517/CH4/EX4.8
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /3517/CH4/EX4.8
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 '3517/CH4/EX4.8')
-rw-r--r--3517/CH4/EX4.8/Ex4_8.sce19
1 files changed, 19 insertions, 0 deletions
diff --git a/3517/CH4/EX4.8/Ex4_8.sce b/3517/CH4/EX4.8/Ex4_8.sce
new file mode 100644
index 000000000..a122d419a
--- /dev/null
+++ b/3517/CH4/EX4.8/Ex4_8.sce
@@ -0,0 +1,19 @@
+//Caption:Calculate Rc,Rb,and Cc
+//Ex4.8
+clc;
+clear;
+close;
+Vcc=10//Collector voltage(in volts)
+Vce=0.2//Saturated collector emitter voltage(in volts)
+Ic=10//Collector current(in mA)
+Vbe=0.7//Base emitter voltage(in volts)
+hfe=100
+Pw=1//Pulse width(in ms)
+Vi=4//Input voltage(in volts)
+Rc=(Vcc-Vce)*1000/Ic
+Ib=Ic*1000/hfe
+Rb=(Vcc-Vbe)*1000/Ib
+Vb=Vi-Vbe-0.5
+I=(Vcc+Vi)/Rb
+Cc=I*Pw/Vb
+disp(Cc,Rb,Rc,'Rc(in ohm),Rb(in kilo ohm),Cc(in micro farad)=') \ No newline at end of file