summaryrefslogtreecommitdiff
path: root/2498/CH6/EX6.m.15/ex_m_6_15.sce
blob: dd8ecfa5e68a0a9cd9c97e714d64f190bd5afa16 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
// Exa Misc. 6.15
clc;
clear;
close;
format('v',6)
// Given data
//Output voltage of the amplifier, Vo = (1+(Rf/Rin))*Vin and voltage gain, Av = Vo/Vin = 1+(Rf/Rin)
Rf = 0;
Rin = 2;// in k ohm
Avmin = 1+(Rf/Rin);
Rf = 100;// in k ohm
// The maximum loop voltage gain 
Avmax = 1+(Rf/Rin);
disp(Avmax,"The maximum loop voltage gain is");