diff options
Diffstat (limited to '3831/CH15/EX15.2')
-rw-r--r-- | 3831/CH15/EX15.2/Ex15_2.sce | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/3831/CH15/EX15.2/Ex15_2.sce b/3831/CH15/EX15.2/Ex15_2.sce new file mode 100644 index 000000000..8daa72593 --- /dev/null +++ b/3831/CH15/EX15.2/Ex15_2.sce @@ -0,0 +1,10 @@ +// Example 15_2
+clc;funcprot(0);
+// Given data
+CH_4=1.00;// kgmole of methane
+C_3H_8=3.00;// kgmoles of propane
+
+// Solution
+n=1+(3*(3));// Carbon balance
+m=4+(3*(8));// Hydrogen balance
+printf("\nThe hydrocarbon fuel model for this mixture is C_%2.0fH_%2.0f.",n,m);
|