blob: 489cab588f232c0aec83867a720895198e4f17d1 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
//Error calculation
clc;
clear;
I=20; //Current
V=230;// Voltage
C=480;// Meter Constant
L=4.6*(10^3);// Load
t=66/3600; // Time in hour
R=40; //No of revolutions
Pc=L*t/1000; // Energy Consumed in kWhr
Pr=R/C; // Energy recorded in kWhr
err=(Pc-Pr)*100/Pc;
printf('The Error in the meter is that the disc rotates %g percent slow \n',err)
|