From 7bc77cb1ed33745c720952c92b3b2747c5cbf2df Mon Sep 17 00:00:00 2001 From: prashantsinalkar Date: Sat, 3 Feb 2018 11:01:52 +0530 Subject: Added new code --- 3841/CH4/EX4.2/Ex4_2.sce | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 3841/CH4/EX4.2/Ex4_2.sce (limited to '3841/CH4/EX4.2/Ex4_2.sce') 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) -- cgit