summaryrefslogtreecommitdiff
path: root/896/CH18/EX18.2/2.sce
diff options
context:
space:
mode:
Diffstat (limited to '896/CH18/EX18.2/2.sce')
-rwxr-xr-x896/CH18/EX18.2/2.sce12
1 files changed, 12 insertions, 0 deletions
diff --git a/896/CH18/EX18.2/2.sce b/896/CH18/EX18.2/2.sce
new file mode 100755
index 000000000..e68603a14
--- /dev/null
+++ b/896/CH18/EX18.2/2.sce
@@ -0,0 +1,12 @@
+clc
+//Example 18.2
+//Calculate the energy per unit mass and heat dissipation rate
+v=0.82//m/s
+energy_per_unit_mass=v^2/2//J/Kg
+printf("The energy per unit mass is %f J/Kg\n",energy_per_unit_mass);
+//Let dissipation rate be denoted by eta
+//Let D denote d/dL
+DP=0.0286//Pa/m
+rho=1.2//Kg/m^3
+eta=DP*v/rho//m^2/s^3 or J/Kg/s
+printf("The heat dissipation rate is %f J/Kg/s",eta); \ No newline at end of file