summaryrefslogtreecommitdiff
path: root/165/CH21/EX21.2/ex21_2.sce
blob: 55d4b3e54c62064b98c160a934129fef7e771207 (plain)
1
2
3
4
5
6
7
8
9
10
11
//Example 21.2   
clc;

//Given data
Em=0.007;          //in amperes
Eref=0.010;        //in amperes
Emax=0.02;         //in amperes
Emin=0.004;        //in amperes
//percentage error
Ep=(Em-Eref)*100/(Emax-Emin);
disp(Ep,'Percentage error in measurement');