summaryrefslogtreecommitdiff
path: root/695/CH2/EX2.26/Ex2_26.sce
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /695/CH2/EX2.26/Ex2_26.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 '695/CH2/EX2.26/Ex2_26.sce')
-rwxr-xr-x695/CH2/EX2.26/Ex2_26.sce14
1 files changed, 14 insertions, 0 deletions
diff --git a/695/CH2/EX2.26/Ex2_26.sce b/695/CH2/EX2.26/Ex2_26.sce
new file mode 100755
index 000000000..fde6b4d64
--- /dev/null
+++ b/695/CH2/EX2.26/Ex2_26.sce
@@ -0,0 +1,14 @@
+//Caption:Determine the speed
+//Exa:2.26
+clc;
+clear;
+close;
+V=250;//in volts
+R_a=0.25;//in ohms
+I_a1=50;//in amperes
+I_a2=I_a1/0.9;//in amperes
+N_1=750;//in rpm
+E_1=V-(I_a1*R_a);//in volts
+E_2=V-(I_a2*R_a);//in volts
+N_2=int(E_2*N_1/(E_1*0.9));
+disp(N_2,'Speed (in rpm)='); \ No newline at end of file