diff options
author | prashantsinalkar | 2017-10-10 12:27:19 +0530 |
---|---|---|
committer | prashantsinalkar | 2017-10-10 12:27:19 +0530 |
commit | 7f60ea012dd2524dae921a2a35adbf7ef21f2bb6 (patch) | |
tree | dbb9e3ddb5fc829e7c5c7e6be99b2c4ba356132c /1808/CH1/EX1.1/Chapter1_Example1.sce | |
parent | b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (diff) | |
download | Scilab-TBC-Uploads-7f60ea012dd2524dae921a2a35adbf7ef21f2bb6.tar.gz Scilab-TBC-Uploads-7f60ea012dd2524dae921a2a35adbf7ef21f2bb6.tar.bz2 Scilab-TBC-Uploads-7f60ea012dd2524dae921a2a35adbf7ef21f2bb6.zip |
initial commit / add all books
Diffstat (limited to '1808/CH1/EX1.1/Chapter1_Example1.sce')
-rw-r--r-- | 1808/CH1/EX1.1/Chapter1_Example1.sce | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/1808/CH1/EX1.1/Chapter1_Example1.sce b/1808/CH1/EX1.1/Chapter1_Example1.sce new file mode 100644 index 000000000..dc4b5c50f --- /dev/null +++ b/1808/CH1/EX1.1/Chapter1_Example1.sce @@ -0,0 +1,19 @@ +clc
+clear
+//INPUT DATA
+Tmax=200;//Maximum Brake Torque in Nm
+N=3600;//Speed range in rpm
+Pmax=900;//Maximum engine torque in kPa
+n=2;// For Four stroke engine
+Mps=15*60;//mean piston speed in m/min
+
+//CALCULATIONS
+Vs=((2*3.14*Tmax*n)/(1000*Pmax));//Swept volume in m^3
+d=((Vs/3.14)^(1/3))*1000;//Bore diameter
+Nmax=(Mps*1000/(2*d));//Maximum crank speed in rpm
+Bpm=800*(Vs/2)*(Nmax/(60));//Maximum break power in kW
+
+//OUTPUT
+printf('(i)swept volume is %3.5f m^3 \n (ii)bore diameter is %3.i mm \n (iii)maximum break power is %3.2f kW ',Vs,d,Bpm)
+
+
|