summaryrefslogtreecommitdiff
path: root/2138/CH12/EX12.4
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /2138/CH12/EX12.4
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 '2138/CH12/EX12.4')
-rwxr-xr-x2138/CH12/EX12.4/EX_12_4.sce17
1 files changed, 17 insertions, 0 deletions
diff --git a/2138/CH12/EX12.4/EX_12_4.sce b/2138/CH12/EX12.4/EX_12_4.sce
new file mode 100755
index 000000000..b10264f1a
--- /dev/null
+++ b/2138/CH12/EX12.4/EX_12_4.sce
@@ -0,0 +1,17 @@
+//Example 12.4 // reading
+clc;
+clear;
+close;
+ni=74.6;//efficiency
+Mo=40;//HP OF MOTOR
+mo=Mo*ni;//output of motor in watts
+mi=(mo*100)/(ni*1000);//input of motor in kW
+tw=40;//total in kW
+pf=0.8;//power factor
+theta=acosd(pf);//in degree
+v=tand(theta);//
+dw=(v*tw)/(sqrt(3));//
+w1=(tw+dw)/2;//FIRST READING IN kW
+w2=tw-w1;//second reading in kW
+disp(w1,"first reading in kW")
+disp(w2,"second reading in kW")