summaryrefslogtreecommitdiff
path: root/876/CH2/EX2.7/Ex2_7.sce
blob: 7edabc5a1d621c69b89b07540c319ebceaa28daa (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
//caption:find the limiting error for the power calculated
//Ex2.7
clc
clear
close
A=0.01//magnitude of accuracy
V=150//range of voltmeter(in V)
Vr=100//Reading of voltmeter(in V)
I=100//range of ammeter(in mA)
Ir=55//ammeter reading(in mA)
dV=A*V
dEv=(dV/Vr)*100
dA=A*I
dEi=(dA/Ir)*100
dE=(dEv+dEi)
disp(dE,'limiting error for the power calculated(in %)=')