summaryrefslogtreecommitdiff
path: root/3845/CH13/EX13.4
diff options
context:
space:
mode:
Diffstat (limited to '3845/CH13/EX13.4')
-rw-r--r--3845/CH13/EX13.4/Ex13_4.sce9
1 files changed, 9 insertions, 0 deletions
diff --git a/3845/CH13/EX13.4/Ex13_4.sce b/3845/CH13/EX13.4/Ex13_4.sce
new file mode 100644
index 000000000..ba8bf6560
--- /dev/null
+++ b/3845/CH13/EX13.4/Ex13_4.sce
@@ -0,0 +1,9 @@
+//Example 13.4
+beta_s=35*10^-6;//Coefficient of volume expansion of steel (C^-1)
+beta_gas=950*10^-6;//Coefficient of volume expansion of gasoline (C^-1)
+V=60;//Volume of tank (L)
+delta_T=35-15;//Change in temperature (C)
+V_spill=(beta_gas-beta_s)*V*delta_T;//Volume of gasoline spilled (See textbook for derivation) (L)
+printf('Volume of gasoline spilled = %0.2f L',V_spill)
+//Openstax - College Physics
+//Download for free at http://cnx.org/content/col11406/latest