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 --- 68/CH1/EX1.5/ex5.sce | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100755 68/CH1/EX1.5/ex5.sce (limited to '68/CH1/EX1.5') diff --git a/68/CH1/EX1.5/ex5.sce b/68/CH1/EX1.5/ex5.sce new file mode 100755 index 000000000..81db740be --- /dev/null +++ b/68/CH1/EX1.5/ex5.sce @@ -0,0 +1,17 @@ +// Example 1.5 : DC gain, 3dB frequency and frequency at which gain=0 of voltage amplifier + +// 1.5b +R_s =20*10^3; // (ohm) +R_i =100*10^3; // (ohm) +C_i =60*10^-12; // (ohm) +u = 144; // (V/V) +R_o = 200; // (ohm) +R_L = 1000; // (ohm) +K=u/((1+R_s/R_i)*(1+R_o/R_L)); +disp(K,"The dc gain (V/V)= ") +disp(20*log10(K)," The dc gain (dB) =") +w_o=1/(C_i*R_s*R_i/(R_s+R_i)); +disp(w_o,"The 3-dB frequency (rad/s) =") +f_o= w_o/2/%pi; +disp(f_o,"Frequency (Hz) =") +disp(100*w_o,"unity gain frequency (rad/s)=",100*f_o,"Unity gain frequency (Hz)") \ No newline at end of file -- cgit