summaryrefslogtreecommitdiff
path: root/1553/CH25/EX25.21/25Ex21.sce
diff options
context:
space:
mode:
Diffstat (limited to '1553/CH25/EX25.21/25Ex21.sce')
-rw-r--r--1553/CH25/EX25.21/25Ex21.sce10
1 files changed, 10 insertions, 0 deletions
diff --git a/1553/CH25/EX25.21/25Ex21.sce b/1553/CH25/EX25.21/25Ex21.sce
new file mode 100644
index 000000000..f0cdb3bbe
--- /dev/null
+++ b/1553/CH25/EX25.21/25Ex21.sce
@@ -0,0 +1,10 @@
+//Ch25_Ex21
+clc;
+clear;
+close;
+
+r=7; h=24; w=1.25;
+l=sqrt(h^2+r^2);
+area=%pi*r*l;
+lengthCanvas=area/w;
+mprintf("The length of canvas is %.0f meter",lengthCanvas);