From 7f60ea012dd2524dae921a2a35adbf7ef21f2bb6 Mon Sep 17 00:00:00 2001 From: prashantsinalkar Date: Tue, 10 Oct 2017 12:27:19 +0530 Subject: initial commit / add all books --- 2459/CH12/EX12.9/Ex12_9.sce | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 2459/CH12/EX12.9/Ex12_9.sce (limited to '2459/CH12/EX12.9/Ex12_9.sce') diff --git a/2459/CH12/EX12.9/Ex12_9.sce b/2459/CH12/EX12.9/Ex12_9.sce new file mode 100644 index 000000000..b49db335a --- /dev/null +++ b/2459/CH12/EX12.9/Ex12_9.sce @@ -0,0 +1,31 @@ +//chapter12 +//example12.9 +//page245 + +V_CC=12 // V +gain_beta1=100 +gain_beta2=50 +V_BE=0.3 // V +V_CE=8 // V +I_C=1 // mA + +// here V_CC=V_CE+I_C*R_C so we get +R_C=(V_CC-V_CE)/I_C + +I_B=I_C/gain_beta1 + +// we know that R_B=(V_CC-V_BE-gain_beta1*R_C*I_B)/I_B so +R_B=(V_CC-V_BE-gain_beta1*R_C*I_B)/I_B + + +// for gain_beta=50 i.e. gain_beta2 + +// we know that R_B=(V_CC-V_BE-gain_beta2*R_C*I_B)/I_B so we get +I_B2=(V_CC-V_BE)/(R_B+gain_beta2*R_C) + +I_C2=gain_beta2*I_B2 + +V_CE2=V_CC-I_C2*R_C + +printf("for beta=100,required base resistance = %.3f kilo ohm \n",R_B) +printf("for beta=50,new operating point is %.3f V, %.3f mA \n",V_CE2,I_C2) -- cgit