summaryrefslogtreecommitdiff
path: root/569/CH6/EX6.11/6_11.sci
blob: 756eac7ce5514f6ff61c85d8291976ac2402e7e9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
// Calculating Difference mode, Common mode gain and CMRR
clc;
Vo=3;
Vd=30*10^-3;
Ad=Vo/Vd;
disp(Ad,'difference mode gain=')
Vo=5*10^-3;
Vc=500*10^-3;
Ac=Vo/Vc;
disp(Ac,'Common mode gain=')
CMRR=Ad/Ac;
disp(CMRR,'Common mode rejection ratio=')