diff options
Diffstat (limited to '2657/CH1/EX1.1')
-rwxr-xr-x | 2657/CH1/EX1.1/Ex1_1.sce | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/2657/CH1/EX1.1/Ex1_1.sce b/2657/CH1/EX1.1/Ex1_1.sce new file mode 100755 index 000000000..0b5f05eaa --- /dev/null +++ b/2657/CH1/EX1.1/Ex1_1.sce @@ -0,0 +1,15 @@ +//Calculation of cubic capacity and clearance volume
+clc,clear
+//Given:
+n=4 //Number of cylinders
+d=68/10 //Bore in cm
+l=75/10 //Stroke in cm
+r=8 //Compression ratio
+//Solution:
+V_s=(%pi/4)*d^2*l //Swept volume of one cylinder in cm^3
+cubic_capacity=n*V_s //Cubic capacity in cm^3
+//Since, r = (V_c + V_s)/V_c
+V_c=V_s/(r-1) //Clearance volume in cm^3
+//Results:
+printf("\n The cubic capacity of the engine = %.1f cm^3",cubic_capacity)
+printf("\n The clearance volume of a cylinder, V_c = %.1f cm^3\n\n",V_c)
|