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 /2135/CH2/EX2.17 | |
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 '2135/CH2/EX2.17')
-rwxr-xr-x | 2135/CH2/EX2.17/Exa_2_17.sce | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/2135/CH2/EX2.17/Exa_2_17.sce b/2135/CH2/EX2.17/Exa_2_17.sce new file mode 100755 index 000000000..84caa74b8 --- /dev/null +++ b/2135/CH2/EX2.17/Exa_2_17.sce @@ -0,0 +1,26 @@ +//Exa 2.17
+clc;
+clear;
+close;
+format('v',6);
+
+//Given Data :
+N=250;//rpm
+tau=10;//min
+Q1=-5;//KJ
+deltaU=2;//KJ
+p=1.2;//bar
+p=p*100;//KJ
+E=24;//volt
+I=0.45;//Ampere
+A=0.1;//m^2
+T=0.5;//Nm
+Q2=E*I*tau*60/1000;//KJ
+Q=Q1+Q2;//KJ
+//Consider piston moves through a distance y
+//Q-(W1+W2)=deltaU where W1=p*A*y
+W2=-T*2*%pi*N*tau;//Nm
+W2=W2/1000;//KJ
+y=(Q-W2-deltaU)/A/p;//meter
+disp(y*100,"Distance in cm : ");
+//Ans is wrong in the book.
|