blob: 7da991c8458fb064a381d95e50e958def873215e (
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
|
clc;
Rf=100000;
Rin=10000;
AcL=(Rf/Rin)+1;
Acm=0.001;
CMRR=AcL/Acm;
Vin=1;
Vout=AcL*Vin;
slewrate=500000;
Vpk=5.5;
fmax=slewrate/(2*3.14*Vpk);
disp(' ',AcL,"AcL=");//The answers vary due to round off error
disp(' ',CMRR,"CMRR=");//The answers vary due to round off error
disp('Vpp',Vout,"Vout=");//The answers vary due to round off error
disp('kHz',fmax/1000,"fmax=");//The answers vary due to round off error
|