summaryrefslogtreecommitdiff
path: root/1553/CH25/EX25.22/25Ex22.sce
diff options
context:
space:
mode:
Diffstat (limited to '1553/CH25/EX25.22/25Ex22.sce')
-rw-r--r--1553/CH25/EX25.22/25Ex22.sce9
1 files changed, 9 insertions, 0 deletions
diff --git a/1553/CH25/EX25.22/25Ex22.sce b/1553/CH25/EX25.22/25Ex22.sce
new file mode 100644
index 000000000..af547237f
--- /dev/null
+++ b/1553/CH25/EX25.22/25Ex22.sce
@@ -0,0 +1,9 @@
+//Ch25_Ex22
+clc;
+clear;
+close;
+//since the heights are in in ratio 1:2 and perimeter in ratio 3:4;
+//let ratio of radii be ratioR
+ratioR=(4/3); ratioH=1/2
+ratioV=((1/3)*%pi*ratioH)/((1/3)*%pi*ratioR);
+mprintf("The ratio of their volumes is %.2f",ratioV);