diff options
Diffstat (limited to '2471/CH1/EX1.1/Ex1_1.sce')
-rwxr-xr-x | 2471/CH1/EX1.1/Ex1_1.sce | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/2471/CH1/EX1.1/Ex1_1.sce b/2471/CH1/EX1.1/Ex1_1.sce new file mode 100755 index 000000000..1958fb9df --- /dev/null +++ b/2471/CH1/EX1.1/Ex1_1.sce @@ -0,0 +1,16 @@ + +clc; +// Example 1.1 +printf('Example 1.1\n\n'); +printf(' Page No. 08\n\n'); +// Solution + +// Given +m1= 40*10^3;// fuel oil in gallons per year +ga= 4.545*10^-3;// m^3 +m= m1*ga;// fuel oil in m^3 per year +Cv1= 175*10^3;// Btu per gallons +Bt= .2321*10^6;// J per m^3 +Cv= Cv1*Bt;// in J per year per m^3 +q=m*Cv;// in J per year +printf(' Heat available is %3.2e J per year\n',q) |