summaryrefslogtreecommitdiff
path: root/995/CH2/EX2.1/Ex2_1.sce
blob: 7ca1dd20432816d7ee9e3d868a03eedace078203 (plain)
1
2
3
4
5
6
7
8
9
//Ex:2.1
clc;
clear;
close;
marked=220;//in ohms
measured=207;//in ohms
err=marked-measured;
tol=(err/marked)*100;
printf("Tolerance = %f %%",tol);