diff options
Diffstat (limited to '1553/CH22/EX22.13/22Ex13.sce')
-rw-r--r-- | 1553/CH22/EX22.13/22Ex13.sce | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/1553/CH22/EX22.13/22Ex13.sce b/1553/CH22/EX22.13/22Ex13.sce new file mode 100644 index 000000000..1e6871ff7 --- /dev/null +++ b/1553/CH22/EX22.13/22Ex13.sce @@ -0,0 +1,9 @@ +//chapter 22 Ex 13
+
+clc;
+clear;
+close;
+Sum1=6690; t1=3; Sum2=10035; t2=6;
+rate=((nthroot((Sum2/Sum1),(t2-t1)))-1);
+p=Sum1/(1+rate)^t1;
+mprintf("The Sum is %.0f",p);
|