summaryrefslogtreecommitdiff
path: root/608/CH21/EX21.27
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /608/CH21/EX21.27
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/CH21/EX21.27')
-rwxr-xr-x608/CH21/EX21.27/21_27.sce15
1 files changed, 15 insertions, 0 deletions
diff --git a/608/CH21/EX21.27/21_27.sce b/608/CH21/EX21.27/21_27.sce
new file mode 100755
index 000000000..71764dacd
--- /dev/null
+++ b/608/CH21/EX21.27/21_27.sce
@@ -0,0 +1,15 @@
+//Problem 21.27: A d.c. series motor drives a load at 30 rev/s and takes a current of 10 A when the supply voltage is 400 V. If the total resistance of the motor is 2 ohm and the iron, friction and windage losses amount to 300 W, determine the efficiency of the motor.
+
+//initializing the variables:
+R = 2; // in ohm
+n = 30; // in rev/sec
+I = 10; // in A
+C = 300; // in Watt
+V = 400; // in Volts
+
+//calculation:
+//Efficiency =((V*I - I*I*R - C)/(V*I))*100%
+eff = ((V*I - (I*I*R) - C)/(V*I))*100 // in percent
+
+printf("\n\n Result \n\n")
+printf("\n efficiency is %.1f percent",eff) \ No newline at end of file