summaryrefslogtreecommitdiff
path: root/3841/CH4/EX4.2/Ex4_2.sce
diff options
context:
space:
mode:
Diffstat (limited to '3841/CH4/EX4.2/Ex4_2.sce')
-rw-r--r--3841/CH4/EX4.2/Ex4_2.sce10
1 files changed, 10 insertions, 0 deletions
diff --git a/3841/CH4/EX4.2/Ex4_2.sce b/3841/CH4/EX4.2/Ex4_2.sce
new file mode 100644
index 000000000..601182b14
--- /dev/null
+++ b/3841/CH4/EX4.2/Ex4_2.sce
@@ -0,0 +1,10 @@
+
+//given
+//find the area of piston and displacement of that piston
+a=3.
+b=4.
+A=0.785*3**2
+printf("\n area of piston %.2f ",A)
+D=A*b
+//by using above results
+printf("\n displacement of piston %.2f cu in",D)