summaryrefslogtreecommitdiff
path: root/3819/CH1/EX1.22/Ex1_22.sce
diff options
context:
space:
mode:
Diffstat (limited to '3819/CH1/EX1.22/Ex1_22.sce')
-rw-r--r--3819/CH1/EX1.22/Ex1_22.sce16
1 files changed, 16 insertions, 0 deletions
diff --git a/3819/CH1/EX1.22/Ex1_22.sce b/3819/CH1/EX1.22/Ex1_22.sce
new file mode 100644
index 000000000..b40bf6fb9
--- /dev/null
+++ b/3819/CH1/EX1.22/Ex1_22.sce
@@ -0,0 +1,16 @@
+// A Textbook of Fluid Mecahnics and Hydraulic Machines - By R K Bansal
+// Chapter 1-Properties of Fluid
+// Problem 1.22
+
+//Given Data Set in the Problem(SI Units)
+
+m=5
+t=10
+T=273+10
+V=0.4
+M=28
+R=8314 //Universal Gas constant in N-m/(kg-mole K)
+
+//Calculations
+p=((m/M)*R*T)/V
+mprintf("The pressure exerted by the 5kg Nitrogen gas is %f N/mm^2 \n",p*10^-6);