diff options
author | priyanka | 2015-06-24 15:03:17 +0530 |
---|---|---|
committer | priyanka | 2015-06-24 15:03:17 +0530 |
commit | b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch) | |
tree | ab291cffc65280e58ac82470ba63fbcca7805165 /2345/CH15/EX15.3/Ex15_3.sce | |
download | Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.gz Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.bz2 Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.zip |
initial commit / add all books
Diffstat (limited to '2345/CH15/EX15.3/Ex15_3.sce')
-rwxr-xr-x | 2345/CH15/EX15.3/Ex15_3.sce | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/2345/CH15/EX15.3/Ex15_3.sce b/2345/CH15/EX15.3/Ex15_3.sce new file mode 100755 index 000000000..7fca59d5e --- /dev/null +++ b/2345/CH15/EX15.3/Ex15_3.sce @@ -0,0 +1,15 @@ +//Finding current
+//Example 15.3(pg 393)
+clc
+clear
+M=250000//weight of water lifted per hr in kg
+h=50//height in metres
+g=9.81//gravitational const.
+WD=M*h*g//work done by pump per hr in watt-sec
+P=WD/3600//Power output of pump per sec in watts
+V=500//supply voltage in volts
+Ep=0.8//efficiency of pump
+Em=0.9//efficiency of motor
+E=Em*Ep//overall efficiency
+I=P/(V*E)//current in amperes
+printf('Current drawn by the motor is %3.2f Amperes',I)
|