diff options
author | prashantsinalkar | 2017-10-10 12:27:19 +0530 |
---|---|---|
committer | prashantsinalkar | 2017-10-10 12:27:19 +0530 |
commit | 7f60ea012dd2524dae921a2a35adbf7ef21f2bb6 (patch) | |
tree | dbb9e3ddb5fc829e7c5c7e6be99b2c4ba356132c /147/CH18/EX18.5 | |
parent | b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (diff) | |
download | Scilab-TBC-Uploads-7f60ea012dd2524dae921a2a35adbf7ef21f2bb6.tar.gz Scilab-TBC-Uploads-7f60ea012dd2524dae921a2a35adbf7ef21f2bb6.tar.bz2 Scilab-TBC-Uploads-7f60ea012dd2524dae921a2a35adbf7ef21f2bb6.zip |
initial commit / add all books
Diffstat (limited to '147/CH18/EX18.5')
-rw-r--r-- | 147/CH18/EX18.5/Example18_5.sce | 19 | ||||
-rw-r--r-- | 147/CH18/EX18.5/Result18_5.txt | 1 |
2 files changed, 20 insertions, 0 deletions
diff --git a/147/CH18/EX18.5/Example18_5.sce b/147/CH18/EX18.5/Example18_5.sce new file mode 100644 index 000000000..76b3a7122 --- /dev/null +++ b/147/CH18/EX18.5/Example18_5.sce @@ -0,0 +1,19 @@ +close();
+clear;
+clc;
+//time taken 't' for 'rev' revolutions, non-inductive load 'I', voltage 'V' and frequency 'f' of single phase energy meter with constant 'k'
+k = 200; //rev/kWh
+t = 180; //seconds
+rev = 10;
+I = 4.4; //A
+V = 230; //V
+f = 50; //Hz
+//pf = cos(phi)
+pf = 1; //for non-inductive load
+//Energy consumed 'E'
+E = V*I*t*pf/(1000*3600); //kWh
+//Energy registered by meter 'Eg'
+Eg = rev/k; //kWh
+//percentage error 'per_error'
+per_error = (Eg-E)*100/E;
+mprintf("Percentage error of the instrument = %0.3f %%",per_error);
\ No newline at end of file diff --git a/147/CH18/EX18.5/Result18_5.txt b/147/CH18/EX18.5/Result18_5.txt new file mode 100644 index 000000000..5d4a3d78a --- /dev/null +++ b/147/CH18/EX18.5/Result18_5.txt @@ -0,0 +1 @@ +Percentage error of the instrument = -1.186 %
\ No newline at end of file |