summaryrefslogtreecommitdiff
path: root/978/CH2/EX2.7/Example2_7.sce
blob: ee002633d855348a8c03eb9ea44b0509a08842aa (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
//chapter-2,Example2_7,pg 485

CMRR=10*10^4//common mode rejection ratio

//set a=beta+k1*delbeta and b=beta(-/+)k2*delbeta

//CMRR=0.5*((4(+/-)3*delbeta*(k1-k2))/((+/-)delbeta*(k1-k2)))

//CMRR=0.5*((4(+/-)3*(a1-a2))/((+/-)(a1-a2)))

//a1->k1*delbeta, a2->k2*delbeta

delalpha=(2/CMRR)//a1-a2=delalpha

printf("tolerance in parameters\n")

printf("delalpha=%.7f \n",delalpha)

printf("Therefore, if a varies by 1 percent, b should not vary more than 2*10^-3 percent of variation of a ")