summaryrefslogtreecommitdiff
path: root/1199/CH2/EX2.34/2_34.sci
blob: c5cb4da0857d4da368559a20a94ce42d55acc143 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
// 2.34
clc;
clear
th=20;
Vz=2.73+th*10*10^-3;
Voffset=-2.73;
Vout=Vz+Voffset;
Rbias=(5-0.2)/10^-3;
Rzero=500;
th=50;
Vz=2.73+th*10*10^-3;
VmaxT=Vz+Voffset;
Vsupply=5;
Rl=(VmaxT*Rbias)/(Vsupply-VmaxT);
printf("Value of resistance R1=%.2f ohm",Rl)
disp('value of resistance RL>>Rl')