summaryrefslogtreecommitdiff
path: root/431/CH2/EX2.24/EX2_24.sce
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /431/CH2/EX2.24/EX2_24.sce
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 '431/CH2/EX2.24/EX2_24.sce')
-rwxr-xr-x431/CH2/EX2.24/EX2_24.sce18
1 files changed, 18 insertions, 0 deletions
diff --git a/431/CH2/EX2.24/EX2_24.sce b/431/CH2/EX2.24/EX2_24.sce
new file mode 100755
index 000000000..7b309e79c
--- /dev/null
+++ b/431/CH2/EX2.24/EX2_24.sce
@@ -0,0 +1,18 @@
+//Calculate the fully-load speed of the motor
+//Chapter 2
+//Example 2.24
+//page 128
+clear;
+clc;
+disp("Example 2.24")
+V=200;..............................//motor runs in volts
+Ia=15;.............................//current taken in amperes
+Ra=1;.................................//motor resistance in ohms
+E1=V-(Ia*Ra);
+printf("resistance when 1ohm=%fV",E1)
+R=5;....................................//resistance
+E2=V-(Ia*(Ra+R))
+printf("\nResistance when 5ohms connected in series=%fV",E2)
+N1=800;............................//speed of motor in rpm
+N2=N1*(E2/E1);
+printf("\nspeed at which motor will run when resistance is 5ohms=%frpm",N2) \ No newline at end of file