summaryrefslogtreecommitdiff
path: root/2498/CH6/EX6.m.1/ex_m_6_1.sce
blob: 330c6c67adf97f5d585cb858c6a9a8884cc8b06a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
// Exa Misc. 6.1
clc;
clear;
close;
format('e',8)
// Given data
Vid = 1;// in mV
Vo = 120;// in mV
V_CM = 1;// in mV
Ad = Vo/Vid;
Vo = 20;// in µV
Vo = Vo * 10^-3;// in mV
A_CM = Vo/V_CM;
Vo = 120;// in mV
// The value of CMRR for the circuit 
CMRR = Vo/A_CM;
disp(CMRR,"The value of CMRR for the circuit is");