diff options
Diffstat (limited to '1627/CH5/EX5.2/Ex5_2.sce')
-rw-r--r-- | 1627/CH5/EX5.2/Ex5_2.sce | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/1627/CH5/EX5.2/Ex5_2.sce b/1627/CH5/EX5.2/Ex5_2.sce new file mode 100644 index 000000000..19f2eacc2 --- /dev/null +++ b/1627/CH5/EX5.2/Ex5_2.sce @@ -0,0 +1,14 @@ +clc
+//initialisation of variables
+m=1635//kg
+g=9.8//m/s^2
+a=10*10^-2//m
+s=150//cm
+A=78.5//cm^2
+t=4//s
+p1=7460
+//CALCULATIONS
+P=(4*m*g)/(%pi)*(a)^2//Pa
+CHP=(P)*(A)*(s)/((p1)*(t))*0.1//hp
+//RESULTS
+printf('The system pressure and cylinder horsepower is=% f hp',CHP)
|