summaryrefslogtreecommitdiff
path: root/1553/CH23/EX23.6/23Ex6.sce
blob: 3c98b5b76edefa67adb5331fcf4e18ccb8d06413 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
// Chapter 23 Ex6

clc;
clear;
close;
n1=3;
//x=poly(0,'x');
for x=1:.5:10
    if log10((4*x+1)/(x+1))==(1-(log10(n1)))
        
        break;
end
end
mprintf("The value of x is %.2f",x);