summaryrefslogtreecommitdiff
path: root/1553/CH25/EX25.2
diff options
context:
space:
mode:
Diffstat (limited to '1553/CH25/EX25.2')
-rw-r--r--1553/CH25/EX25.2/25Ex2.sce8
1 files changed, 8 insertions, 0 deletions
diff --git a/1553/CH25/EX25.2/25Ex2.sce b/1553/CH25/EX25.2/25Ex2.sce
new file mode 100644
index 000000000..4d35db713
--- /dev/null
+++ b/1553/CH25/EX25.2/25Ex2.sce
@@ -0,0 +1,8 @@
+//Chapter 25 Ex 2
+
+clc;
+close;
+clear;
+long=12; breadth=8; height=9; //all in meters
+ldia=sqrt(long^2+breadth^2+height^2);
+mprintf("The length of longest pole is %d meters",ldia);