summaryrefslogtreecommitdiff
path: root/2969/CH4/EX4.1/Ex4_1.sce
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /2969/CH4/EX4.1/Ex4_1.sce
downloadScilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.gz
Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.bz2
Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.zip
initial commit / add all books
Diffstat (limited to '2969/CH4/EX4.1/Ex4_1.sce')
-rwxr-xr-x2969/CH4/EX4.1/Ex4_1.sce10
1 files changed, 10 insertions, 0 deletions
diff --git a/2969/CH4/EX4.1/Ex4_1.sce b/2969/CH4/EX4.1/Ex4_1.sce
new file mode 100755
index 000000000..01a7ece51
--- /dev/null
+++ b/2969/CH4/EX4.1/Ex4_1.sce
@@ -0,0 +1,10 @@
+clc
+clear
+//DATA GIVEN
+Ms=50; //mass of dry steam in kg
+Mw=1.5; //mass of water in suspension in kg
+
+//dryness fraction, x=(mass of dry steam)/(mass of dry steam +mass of water in suspension)
+x=Ms/(Ms+Mw);
+
+printf('The Dryness fraction (Quality) of steam is: %1.3f.',x);