summaryrefslogtreecommitdiff
path: root/929/CH12/EX12.3/Example12_3.sce
blob: 1b5ad3d6348a0a096485217e970407fd2e5c2e76 (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
26
27
28
29
30
31
32
33
//Example 12.3

clear;

clc;

n=12;

Vref=10;

Troom=25;

Tmin=0

Tmax=70;

erfa=1/4;

er=Vref/(2^14);

Temax=Tmax-Troom;

id=er/Temax;

TCmaxVref=id/Vref;

ng=2;//Noise Gain

TCmaxVos=id/ng;

printf("TCmax(Vref)=(+-)%.2f ppm/degC",TCmaxVref*10^6);

printf("\nTCmax(Vos)=(+-)%.1f uV/degC",TCmaxVos*10^6);