summaryrefslogtreecommitdiff
path: root/281/CH2/EX2.2/example2_2.sce
blob: 1c1526a2956495ee0b49181d00b6631e64b3b588 (plain)
1
2
3
4
5
6
7
8
9
10
disp('chapter 2 ex2.2')
disp('given')
disp("supply voltage=+15V and -15V")
disp("ripple voltaage supply=2mV with 120 Hz")
Vrip=2*(10^(-3))
disp("PSRR for an Op-amp=30uV/V")
PSRR=(30*(10^(-6)))
disp("output voltage produced by the power ripple=")
Vo=Vrip*PSRR
disp('volt',Vo)