diff options
Diffstat (limited to '3878/CH1/EX1.4/Ex1_4.sce')
-rw-r--r-- | 3878/CH1/EX1.4/Ex1_4.sce | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/3878/CH1/EX1.4/Ex1_4.sce b/3878/CH1/EX1.4/Ex1_4.sce new file mode 100644 index 000000000..f918a9ba0 --- /dev/null +++ b/3878/CH1/EX1.4/Ex1_4.sce @@ -0,0 +1,8 @@ +clear +// Variable Declaration +V_1byV_2=2// Volumetric ratio (given) +p_1=1.01325// The atmospheric pressure in bar(101325 kPa) + +// Calculation +p_2=V_1byV_2*p_1// The new pressure in bar +printf("\n The new pressure,p_2= %0.4f bar(abs.)",p_2) |