summaryrefslogtreecommitdiff
path: root/2498/CH5/EX5.24
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /2498/CH5/EX5.24
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 '2498/CH5/EX5.24')
-rwxr-xr-x2498/CH5/EX5.24/ex5_24.sce21
1 files changed, 21 insertions, 0 deletions
diff --git a/2498/CH5/EX5.24/ex5_24.sce b/2498/CH5/EX5.24/ex5_24.sce
new file mode 100755
index 000000000..cbc72cc6a
--- /dev/null
+++ b/2498/CH5/EX5.24/ex5_24.sce
@@ -0,0 +1,21 @@
+// Exa 5.24
+clc;
+clear;
+close;
+// Given data
+format('v',6)
+A = 4000;
+R1 = 1;// in k ohm
+R1 = R1 * 10^3;// in ohm
+R2 = 9;// in k ohm
+R2 = R2 * 10^3;// in ohm
+Beta = R1/(R1+R2);// feedback fraction
+disp(Beta,"The feedback fraction is");
+// The overall voltage gain with feedback
+Af = A/(1+(A*Beta));
+disp(Af,"The overall voltage gain with feedback is");
+Vs = 2;// in mV
+//Af = Vo/Vs;
+// The output voltage
+Vo = Af*Vs;// in mV
+disp(Vo,"The output voltage in mV is");