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