summaryrefslogtreecommitdiff
path: root/2885/CH14/EX14.6/ex14_6.sce
blob: 414629023d88ffd6b5243106143e1b6f2f5d505b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
//Calculate the output voltage
clear;
clc;
//soltion
//given

Ad=2000;          //differential mode gain
CMRR=10000;
V1=10^-3;//V
V2=0.9*10^-3;//V
Vd=V1-V2;
Vc=(V1+V2)/2;
Vo=Ad*Vd*(1+Vc/(CMRR*Vd));
printf("The output voltage is %.2f mV",Vo*1000);