diff options
Diffstat (limited to '1439/CH9/EX9.7/9_7.sce')
-rwxr-xr-x | 1439/CH9/EX9.7/9_7.sce | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/1439/CH9/EX9.7/9_7.sce b/1439/CH9/EX9.7/9_7.sce new file mode 100755 index 000000000..b96ffa39f --- /dev/null +++ b/1439/CH9/EX9.7/9_7.sce @@ -0,0 +1,9 @@ +clc
+//initialisation of variables
+Ppcl5= 1 //atm
+Kp= 1.78
+//CALCULATIONS
+Ppcl2= sqrt(Kp)
+P= 2*Ppcl2+Ppcl5
+//RESULTS
+printf ('P= %.2f atm ',P)
|