summaryrefslogtreecommitdiff
path: root/2702/CH1/EX1.11/Ex_1_11.sce
blob: 74e1e1f7f7547cf4b719ee55c3ebbab13da4d7d9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
// Exa 1.11
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.")