summaryrefslogtreecommitdiff
path: root/3871/CH8/EX8.10/Ex8_10.sce
blob: d264b82df58817657d1b0904fbff90046e312891 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
//===========================================================================
//chapter 8 example 10

clc;clear all;

//variable declaration
V       = 230;	//voltage in V
I        = 10;		//current in A
T       = 30;		//time in minutes
x      =0.8;		//power factor 
n     = 890;		//number of revolutions made
M    = 1200;		//meter constant in revolutions per kWh
E      = 58.25;		//dial reading at the end of test
E1      = 57.35;		//dial reading at the start of test

//calculations
Ea     = (V*I*(T/(60))*x)/(1000);		//Energy consumed 1 minute
Em   = E-E1;			//energy consumption recorded by the meter in kWh
e        = Em-Ea;			//error in registration in kWh 
N        = M*Em;			//actual revolutions required to be made by the  meter for an energy consumption of 0.90kWh
e       = (n-N)/(T);			//error in rpm

//result
mprintf("error = %3.2f rpm",e);