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 --- 1754/CH8/EX8.m.4/ExaMisc8_4.sce | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100755 1754/CH8/EX8.m.4/ExaMisc8_4.sce (limited to '1754/CH8/EX8.m.4/ExaMisc8_4.sce') diff --git a/1754/CH8/EX8.m.4/ExaMisc8_4.sce b/1754/CH8/EX8.m.4/ExaMisc8_4.sce new file mode 100755 index 000000000..1deb6466e --- /dev/null +++ b/1754/CH8/EX8.m.4/ExaMisc8_4.sce @@ -0,0 +1,22 @@ +//Exa Misc 8.4 +clc; +clear; +close; +//given data +format('v',5); +L=40;//in mH +C1=100;//in pF +C2=500;//in pF +Vout=10;//in volt +fo=1/(2*%pi*sqrt(L*10^-3*C1*10^-12*C2*10^-12/(C1*10^-12+C2*10^-12))) +disp(fo*10^-3,"Frequency of oscillation (in KHz) :"); +Vf=Vout*C1/C2;//in volt +disp(Vf,"Feedback voltage in volt :"); +Gain=C2/C1;//unitless +disp(Gain,"Minimum Gain is "); +//if Gain=10 +Gain=10;//given +C1=C2/Gain;//in pF +disp(C1,"For a gain of 10 C1 in pF is :"); +fo=1/(2*%pi*sqrt(L*10^-3*C1*10^-12*C2*10^-12/(C1*10^-12+C2*10^-12))) +disp(fo*10^-3,"New frequency of oscillation (in KHz) :"); -- cgit