blob: 01a7ece516e05adcb52d141434e823eea8c94c39 (
plain)
1
2
3
4
5
6
7
8
9
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);
|