summaryrefslogtreecommitdiff
path: root/2621/CH3/EX3.5/Ex3_5.sce
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /2621/CH3/EX3.5/Ex3_5.sce
downloadScilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.gz
Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.bz2
Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.zip
initial commit / add all books
Diffstat (limited to '2621/CH3/EX3.5/Ex3_5.sce')
-rw-r--r--2621/CH3/EX3.5/Ex3_5.sce26
1 files changed, 26 insertions, 0 deletions
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 : ");
+
+
+