summaryrefslogtreecommitdiff
path: root/3685/CH3/EX3.3/Ex3_3.sce
diff options
context:
space:
mode:
authorprashantsinalkar2017-10-10 12:27:19 +0530
committerprashantsinalkar2017-10-10 12:27:19 +0530
commit7f60ea012dd2524dae921a2a35adbf7ef21f2bb6 (patch)
treedbb9e3ddb5fc829e7c5c7e6be99b2c4ba356132c /3685/CH3/EX3.3/Ex3_3.sce
parentb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (diff)
downloadScilab-TBC-Uploads-7f60ea012dd2524dae921a2a35adbf7ef21f2bb6.tar.gz
Scilab-TBC-Uploads-7f60ea012dd2524dae921a2a35adbf7ef21f2bb6.tar.bz2
Scilab-TBC-Uploads-7f60ea012dd2524dae921a2a35adbf7ef21f2bb6.zip
initial commit / add all books
Diffstat (limited to '3685/CH3/EX3.3/Ex3_3.sce')
-rw-r--r--3685/CH3/EX3.3/Ex3_3.sce16
1 files changed, 16 insertions, 0 deletions
diff --git a/3685/CH3/EX3.3/Ex3_3.sce b/3685/CH3/EX3.3/Ex3_3.sce
new file mode 100644
index 000000000..689a33c77
--- /dev/null
+++ b/3685/CH3/EX3.3/Ex3_3.sce
@@ -0,0 +1,16 @@
+clc
+// Given that
+T = 1.275 // Torque acting against the fluid in mN
+N = 10000 // Number of revolutions
+W1 = 2*%pi*T*1e-3*N // Work done by stirring device upon the system
+P = 101.325e03 // Atmospheric pressure in kN/m^2
+d = 0.6 // Piston diameter in m
+A = (%pi/4)*(d)^2 // Piston area in m
+L = 0.80 // Displacement of diameter in m
+W2 = (P*A*L)/1000 // Work done by the system on the surroundings i KJ
+W = -W1+W2 // net work transfer for the system
+
+printf("\n Example 3.3")
+printf("\n The net work transfer for the system is %f kJ",W)
+//The answers vary due to round off error
+