blob: 5ec3c1f1876bc225b6b11d23f0470c80d0ef6a30 (
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
|
clc;
Rf=100000;
Rin=10000;
AcL=Rf/Rin;
Zin=Rin;
Acm=0.001;
CMRR=AcL/Acm;
Vin=1;
Vout=AcL*Vin;
slewrate=500000;
Vpk=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
|