summaryrefslogtreecommitdiff
path: root/3515/CH1/EX1.6/Ex_1_6.sce
blob: 22dc681b3e01af5ebd7d2ac486403aba789521f2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
// Exa 1.6
format('v',7);
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)