From b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b Mon Sep 17 00:00:00 2001 From: priyanka Date: Wed, 24 Jun 2015 15:03:17 +0530 Subject: initial commit / add all books --- 3517/CH4/EX4.8/Ex4_8.sce | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 3517/CH4/EX4.8/Ex4_8.sce (limited to '3517/CH4/EX4.8') 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 -- cgit