summaryrefslogtreecommitdiff
path: root/1376/CH1/EX1.19/1_19.sci
blob: ca1ab0beb43e33e6ad61e36d57312916c16f46b6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
//1.19
clc;
V=10;
I=20*10^-3;
RI=50;
R=(V/I)-RI;
printf("The value of Resistance=%.0f ohm",R)
dV=0.2;
dI=1*10^-3;
dRI=5;
dR=(dV/I)+(V*dI/I^2)+(dRI)
printf("\nLimiting error of resistance=%.0f ohm",dR)