summaryrefslogtreecommitdiff
path: root/2702/CH1/EX1.6/Ex_1_6.sce
blob: d1a16415a12d6f96b66766c9969c08208adc7089 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
// Exa 1.6
clc;
clear;
close;
// Given data
disp("Minimum closed loop voltage gain for R2=0 and R1= 2 kohm")
R2=0;
R1=2;// in kohm
R1=R1*10^3;// in ohm
Av_min= (1+R2/R1)
disp(Av_min)

disp("Maximum closed loop voltage gain for maximum value of R2=100 kohm and R1= 2 kohm")
R2=100;// in kohm
R1=2;// in kohm
Av_max= (1+R2/R1)
disp(Av_max)