summaryrefslogtreecommitdiff
path: root/608/CH19/EX19.15
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /608/CH19/EX19.15
downloadScilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.gz
Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.bz2
Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.zip
initial commit / add all books
Diffstat (limited to '608/CH19/EX19.15')
-rwxr-xr-x608/CH19/EX19.15/19_15.sce16
1 files changed, 16 insertions, 0 deletions
diff --git a/608/CH19/EX19.15/19_15.sce b/608/CH19/EX19.15/19_15.sce
new file mode 100755
index 000000000..52c2c97be
--- /dev/null
+++ b/608/CH19/EX19.15/19_15.sce
@@ -0,0 +1,16 @@
+//Problem 19.15: Two wattmeters are connected to measure the input power to a balanced 3-phase load by the two-wattmeter method. If the instrument readings are 8 kW and 4 kW, determine (a) the total power input and (b) the load power factor.
+
+//initializing the variables:
+Pi1 = 8000; // in Watts
+Pi2 = 4000; // in Watts
+
+//calculation:
+//Total input power
+Pi = Pi1 + Pi2
+phi = atan((Pi1 - Pi2)*(3^0.5)/(Pi1 + Pi2))
+//Power factor
+pf = cos(phi)
+
+printf("\n\n Result \n\n")
+printf("\n (a)power input is %.1E W",Pi)
+printf("\n (b)power factor is %.3f",pf) \ No newline at end of file