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 --- 2621/CH3/EX3.5/Ex3_5.sce | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 2621/CH3/EX3.5/Ex3_5.sce (limited to '2621/CH3/EX3.5/Ex3_5.sce') diff --git a/2621/CH3/EX3.5/Ex3_5.sce b/2621/CH3/EX3.5/Ex3_5.sce new file mode 100644 index 000000000..3451f05ea --- /dev/null +++ b/2621/CH3/EX3.5/Ex3_5.sce @@ -0,0 +1,26 @@ +// Example 3.5 +clc; +clear; +close; +// Given data +format('v',8); +Rin= 2*10^6;// in Ω +Rout= 75;// in Ω +f0= 5;// in Hz +R1= 330;//in Ω +Rf= 3.3*10^3;// in Ω +A= 2*10^5;//unit less +B= R1/(R1+Rf);// feedback fraction +AB= A*B;// feedback factor +Af= -Rf/R1;// colsed-loop voltage gain +Rin_f= R1;// input resistance with feedback in Ω +Rout_f=Rout/(1+AB);// output resistance with feedback in Ω +f_f= f0*(1+AB);// closed-loop bandwidth in Hz +f_f= f_f*10^-3;// in kHz +disp(Af,"The closed-loop voltage gain is : "); +disp(Rin_f,"The input resistance in Ω is : "); +disp(Rout_f,"The output resistance in Ω is : "); +disp(f_f,"The bandwidth in kHz is : "); + + + -- cgit