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 --- 2825/CH12/EX12.2/Ex12_2.sce | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100755 2825/CH12/EX12.2/Ex12_2.sce (limited to '2825/CH12/EX12.2/Ex12_2.sce') diff --git a/2825/CH12/EX12.2/Ex12_2.sce b/2825/CH12/EX12.2/Ex12_2.sce new file mode 100755 index 000000000..2b0962709 --- /dev/null +++ b/2825/CH12/EX12.2/Ex12_2.sce @@ -0,0 +1,16 @@ +//Ex12_2 Pg-588 +clc + +RL=3.3*10^(3) //load resistor in ohm +R=5.6*10^(3) //resistor R in ohm +C=0.001*10^(-6) //capacitance in farad + +disp("For oscillations to be maintained in a RC oscillator, ") +hfe=(23+(29*R/RL)+(4*RL/R)) //transistor current gain +printf(" = %.f \n",hfe) + +disp("Frequency of oscillations,") +f=1/(2*%pi*C*sqrt((4*R*RL)+(6*R^2))) +//frequency of oscillation (textbook answer is wrong +// because of the used of wrong value of C) +printf(" = %.1f Hz",f) -- cgit