summaryrefslogtreecommitdiff
path: root/3308/CH10/EX10.1
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /3308/CH10/EX10.1
downloadScilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.gz
Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.bz2
Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.zip
initial commit / add all books
Diffstat (limited to '3308/CH10/EX10.1')
-rwxr-xr-x3308/CH10/EX10.1/Ex10_1.sce30
-rwxr-xr-x3308/CH10/EX10.1/Ex10_1.txt6
2 files changed, 36 insertions, 0 deletions
diff --git a/3308/CH10/EX10.1/Ex10_1.sce b/3308/CH10/EX10.1/Ex10_1.sce
new file mode 100755
index 000000000..dcc72e4c6
--- /dev/null
+++ b/3308/CH10/EX10.1/Ex10_1.sce
@@ -0,0 +1,30 @@
+clc
+// Given that
+//three metal piece being cast have the same volume but different shapes
+//shapes are sphere,cube,cylinder(height=diameter)
+
+// Sample Problem on page no. 252
+
+printf("\n #solidification time for various shapes# \n")
+
+//solidification time is inversely proportional to the square of surface area
+
+//for sphere
+r=(3/(4*3.14))^(1/3)//radius of the sphere from volume of sphere v=(4*3.14*r^3)/3
+A=4*3.14*((r)^2)
+time1=1/(A)^2
+printf("\n the solidification time for the sphere is %fC",time1)
+
+//for cube
+a=1//edge of the cube
+A=6*a^2
+time2=1/(A)^2
+printf("\n the solidification time for the cube is %fC",time2)
+
+//for cylinder
+//given height =diameter
+//radius=2*height
+r=(1/(2*3.14))^(1/3)//radius of the cylinder from volume of the cylinder v=3.14*r^2*h
+A=(6*3.14*(r^2)) //area of the cylinder = (2*3.14*radius^2) + (2*3.14*radius*height)
+time3=1/(A)^2
+printf("\n the solidification time for the sphere is %fC",time3)
diff --git a/3308/CH10/EX10.1/Ex10_1.txt b/3308/CH10/EX10.1/Ex10_1.txt
new file mode 100755
index 000000000..edb84e7de
--- /dev/null
+++ b/3308/CH10/EX10.1/Ex10_1.txt
@@ -0,0 +1,6 @@
+
+ #solidification time for various shapes#
+
+ the solidification time for the sphere is 0.042774C
+ the solidification time for the cube is 0.027778C
+ the solidification time for the sphere is 0.032643C \ No newline at end of file