summaryrefslogtreecommitdiff
path: root/1757/CH6/EX6.17/EX6_17.sce
blob: 01991ea68e7e445883de499f855b497853909fa5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
//Example6.17  // determine the closed loop gain
clc;
clear;
close;

// the output of the voltage follower is given as
//Vo = Aop(V1-Vo);

// the closed loop gain of the voltage follower 
//A = 1/(1+(1/Aop));
 
// for Aop = 10^4 closed loop gain
Aop = 10^4 ;
A = 1/(1+(1/Aop));
disp('for Aop = 10^4 closed loop gain is = '+string(A)+ ' ');

// for Aop = 10^3 closed loop gain
Aop = 10^3 ;
A = 1/(1+(1/Aop));
disp('for Aop = 10^3 closed loop gain is = '+string(A)+ ' ');

// for Aop = 10^2 closed loop gain
Aop = 10^2 ;
A = 1/(1+(1/Aop));
disp('for Aop = 10^2 closed loop gain is = '+string(A)+ ' ');

// for Aop = 10^1 closed loop gain
Aop = 10^1 ;
A = 1/(1+(1/Aop));
disp('for Aop = 10^1 closed loop gain is = '+string(A)+ ' ');