summaryrefslogtreecommitdiff
path: root/1553/CH9/EX9.7/9Ex7.sce
diff options
context:
space:
mode:
Diffstat (limited to '1553/CH9/EX9.7/9Ex7.sce')
-rw-r--r--1553/CH9/EX9.7/9Ex7.sce15
1 files changed, 15 insertions, 0 deletions
diff --git a/1553/CH9/EX9.7/9Ex7.sce b/1553/CH9/EX9.7/9Ex7.sce
new file mode 100644
index 000000000..9832f6256
--- /dev/null
+++ b/1553/CH9/EX9.7/9Ex7.sce
@@ -0,0 +1,15 @@
+//chapter 9 Ex 7
+
+clc;
+clear;
+close;
+//let the value be x
+y=poly(0,'y');
+for y=1:10
+ if ((1/5)^(y))==nthroot(.008,3)
+ mprintf("y=%d",y);
+ break;
+ end
+end
+ans=.25^y;
+mprintf("\n ans=%.2f",ans);