summaryrefslogtreecommitdiff
path: root/3831/CH3/EX3.2/Ex3_2.sce
diff options
context:
space:
mode:
Diffstat (limited to '3831/CH3/EX3.2/Ex3_2.sce')
-rw-r--r--3831/CH3/EX3.2/Ex3_2.sce14
1 files changed, 14 insertions, 0 deletions
diff --git a/3831/CH3/EX3.2/Ex3_2.sce b/3831/CH3/EX3.2/Ex3_2.sce
new file mode 100644
index 000000000..2d2904ef7
--- /dev/null
+++ b/3831/CH3/EX3.2/Ex3_2.sce
@@ -0,0 +1,14 @@
+// Example 3_2
+clc;funcprot(0);
+// Given data
+T_1=250;// K
+T_2=800;// K
+beta_1=48.0*10^-6;// K^-1
+beta_2=60.7*10^-6;// K^-1
+V_1=1.00;// cm^3
+
+// Solution
+beta_avg=(beta_2+beta_1)/2;// K^-1
+beta=beta_avg;// K^-1
+V_2=V_1*exp(beta*(T_2-T_1));// The final volume in cm^3
+printf('\nThe volume of the block,V_2=%1.2f cm^3',V_2);