summaryrefslogtreecommitdiff
path: root/3685/CH2/EX2.1
diff options
context:
space:
mode:
Diffstat (limited to '3685/CH2/EX2.1')
-rw-r--r--3685/CH2/EX2.1/Ex2_1.sce10
-rw-r--r--3685/CH2/EX2.1/Ex2_1.txt2
2 files changed, 12 insertions, 0 deletions
diff --git a/3685/CH2/EX2.1/Ex2_1.sce b/3685/CH2/EX2.1/Ex2_1.sce
new file mode 100644
index 000000000..c1d0dd40e
--- /dev/null
+++ b/3685/CH2/EX2.1/Ex2_1.sce
@@ -0,0 +1,10 @@
+clc
+d = 1 // Assumption
+l = 1 // Assumption
+A_ACDB = (%pi/4)*(1/3)*((1.05*d)^2)*10.5*l - (%pi/4)*(1/3)*d^2*10*l // Area of ABCD
+A_AEFB = (%pi/4)*(1/3)*((1.1*d)^2)*11*l - (%pi/4)*(1/3)*d^2*10*l // Area of AEFB
+t = 100*(A_ACDB/A_AEFB)
+printf("\n Example 2.1")
+printf("\n The straight bore thermometer reading will be %f degree Celsius.",t)
+//The answers vary due to round off error
+
diff --git a/3685/CH2/EX2.1/Ex2_1.txt b/3685/CH2/EX2.1/Ex2_1.txt
new file mode 100644
index 000000000..9b4964204
--- /dev/null
+++ b/3685/CH2/EX2.1/Ex2_1.txt
@@ -0,0 +1,2 @@
+ Example 2.1
+ The straight bore thermometer reading will be 47.620846 degree Celsius. \ No newline at end of file