summaryrefslogtreecommitdiff
path: root/2258/CH8/EX8.3
diff options
context:
space:
mode:
Diffstat (limited to '2258/CH8/EX8.3')
-rwxr-xr-x2258/CH8/EX8.3/8_3.sce7
1 files changed, 7 insertions, 0 deletions
diff --git a/2258/CH8/EX8.3/8_3.sce b/2258/CH8/EX8.3/8_3.sce
new file mode 100755
index 000000000..dabc7205a
--- /dev/null
+++ b/2258/CH8/EX8.3/8_3.sce
@@ -0,0 +1,7 @@
+clc();
+clear;
+// To calculate the volume of cone
+r=1; //radius in m
+h=1; //height in m
+V=(1/3)*%pi*(r^2)*h;
+printf("volume of cone is %f m^3",V);