summaryrefslogtreecommitdiff
path: root/2123/CH4/EX4.6
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /2123/CH4/EX4.6
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 '2123/CH4/EX4.6')
-rwxr-xr-x2123/CH4/EX4.6/Exa_4_6.sce20
1 files changed, 20 insertions, 0 deletions
diff --git a/2123/CH4/EX4.6/Exa_4_6.sce b/2123/CH4/EX4.6/Exa_4_6.sce
new file mode 100755
index 000000000..11a2127a3
--- /dev/null
+++ b/2123/CH4/EX4.6/Exa_4_6.sce
@@ -0,0 +1,20 @@
+//Example No. 4.6
+clc;
+clear;
+close;
+format('v',6);
+
+//Given Data :
+cycle1=50;//hp
+t1=20;//sec
+cycle2=100;//hp
+t2=20;//sec
+cycle3=150;//hp
+t3=10;//sec
+cycle4=120;//hp
+t4=20;//sec
+cycle5=0;//hp
+t5=15;//sec
+hp_rms=sqrt((cycle1^2*t1+cycle2^2*t2+cycle3^2*t3+cycle4^2*t4+cycle5^2*t5)/(t1+t2+t3+t4+t5));//hp
+disp(hp_rms,"hp(rms) for the motor : ");
+disp("We should choose 100hp motor.")