diff options
Diffstat (limited to '2510/CH11/EX11.8/Ex11_8.sce')
-rwxr-xr-x | 2510/CH11/EX11.8/Ex11_8.sce | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/2510/CH11/EX11.8/Ex11_8.sce b/2510/CH11/EX11.8/Ex11_8.sce new file mode 100755 index 000000000..936f56aaf --- /dev/null +++ b/2510/CH11/EX11.8/Ex11_8.sce @@ -0,0 +1,10 @@ +//Variable declaration: +//From example 11.6-11.7: +E1 = 8776.0 //Energy exchange between black bodies (Btu/h.ft^2) +E2 = 3760.0 //Energy exchange between non-black bodies (Btu/h.ft^2) + +//Calculation: +D = (E1-E2)/E1*100 //Percent difference in energy (%) + +//Result: +printf("The percent difference relative to the black body is: %.1f %%.",D) |