summaryrefslogtreecommitdiff
path: root/929/CH9/EX9.1/Example9_1.sce
blob: f66b89559c663e75713bee85d7d1ef0f21552e44 (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
//Example 9.1

clear;

clc;

Vref=2;

R1=20*10^3;

R2=30*10^3;

Vos=5*10^(-3);

IB=250*10^(-9);

Rpar=(R1*R2)/(R1+R2);

VN=Rpar*IB;

Vneti=Vos+VN;

VT=(1+(R2/R1))*(Vref-Vneti);

printf("Worst Case Error=%.f mV",Vneti*10^3);