summaryrefslogtreecommitdiff
path: root/3515/CH1/EX1.11/Ex_1_11.sce
diff options
context:
space:
mode:
Diffstat (limited to '3515/CH1/EX1.11/Ex_1_11.sce')
-rw-r--r--3515/CH1/EX1.11/Ex_1_11.sce19
1 files changed, 19 insertions, 0 deletions
diff --git a/3515/CH1/EX1.11/Ex_1_11.sce b/3515/CH1/EX1.11/Ex_1_11.sce
new file mode 100644
index 000000000..4ea50164c
--- /dev/null
+++ b/3515/CH1/EX1.11/Ex_1_11.sce
@@ -0,0 +1,19 @@
+// Exa 1.11
+format('v',7);
+clc;
+clear;
+close;
+// Given data
+Rf=500;// in kohm
+min_vvs= 0;// minimum value of variable resistor in ohm
+max_vvs= 10;// maximum value of variable resistor in ohm
+Ri_min= 10+min_vvs;// in kohm
+Ri_max= 10+max_vvs;//in kohm
+// Av= Vo/Vi= -Rf/Ri
+disp("Closed loop voltage gain corresponding to Ri(min) is ")
+Av=-Rf/Ri_min;
+disp(Av)
+disp("and closed loop voltage gain corresponding to Ri(max) is ")
+Av=-Rf/Ri_max;
+disp(Av)
+disp("Thus the closed loop gain of the circuit can be adjusted at any value between -25 to -50 with the help of variable resistor.")