summaryrefslogtreecommitdiff
path: root/1553/CH22/EX22.7/22Ex7.sce
blob: 636dbfb6c372203a724bdd3661d1bdb921b05396 (plain)
1
2
3
4
5
6
7
8
9
//chapter 22 Ex 6

clc;
clear;
close;
p=500; amt=583.20; t=2;

rate=(nthroot((amt/p),t)-1)*100;
mprintf("The rate of interest is %d percent",rate);