summaryrefslogtreecommitdiff
path: root/2258/CH8/EX8.2/8_2.sce
diff options
context:
space:
mode:
Diffstat (limited to '2258/CH8/EX8.2/8_2.sce')
-rwxr-xr-x2258/CH8/EX8.2/8_2.sce10
1 files changed, 10 insertions, 0 deletions
diff --git a/2258/CH8/EX8.2/8_2.sce b/2258/CH8/EX8.2/8_2.sce
new file mode 100755
index 000000000..831d4b0a1
--- /dev/null
+++ b/2258/CH8/EX8.2/8_2.sce
@@ -0,0 +1,10 @@
+clc();
+clear;
+// To calculate the surface area to volume ratio
+d=26; //distance in m
+r=d/2; //radius in m
+SA=4*%pi*r^2; //surface area of sphere in m^2
+V=(4/3)*%pi*r^3; //volume of sphere in m^3
+R=SA/V; //ratio
+//surface area to volume ratio can also be given by 3/radius
+printf("surface area to volume ratio of sphere is %f m-1",R);