summaryrefslogtreecommitdiff
path: root/1553/CH9/EX9.7/9Ex7.sce
blob: 9832f6256308980c2f4db2330e37408a6275b20a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
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);