summaryrefslogtreecommitdiff
path: root/1553/CH24/EX24.5
diff options
context:
space:
mode:
Diffstat (limited to '1553/CH24/EX24.5')
-rw-r--r--1553/CH24/EX24.5/24Ex5.sce9
1 files changed, 9 insertions, 0 deletions
diff --git a/1553/CH24/EX24.5/24Ex5.sce b/1553/CH24/EX24.5/24Ex5.sce
new file mode 100644
index 000000000..a52d21378
--- /dev/null
+++ b/1553/CH24/EX24.5/24Ex5.sce
@@ -0,0 +1,9 @@
+//Chapter 24 Ex5
+
+clc;
+clear;
+close;
+//consider breadht=x and length=2x as given. Thus solving statement we get following equation.
+//(2*x-5)(x+5)-2*x*x=75 and solving it we get
+x=(75+25)/5;
+mprintf("The length of rectangle is %d cm.",x); \ No newline at end of file