summaryrefslogtreecommitdiff
path: root/569/CH2/EX2.15/2_15.sci
blob: e826fa64fc437df136c8479b8e4fd82acfca728c (plain)
1
2
3
4
5
6
7
8
9
//calculating the sum of resistances connected in series with appropriate number of significant figure
clc;
R1=28.7;
R2=3.624;

R=(R1+R2);
disp(R,'sum of resistances(ohm) =');

disp('the resultant resistance is 32.3 ohm as one of the resistance is accurate to three significant figure')