summaryrefslogtreecommitdiff
path: root/1553/CH23/EX23.10/23Ex10.sce
blob: b4da36ae506f82b4141b49b5d0df7ab8d8399e55 (plain)
1
2
3
4
5
6
7
8
9
10
// Chapter 23 Ex. 10

clc;
clear;
close;
//given log2 =0.30103
//consider x=log2
x=0.30103;
ans=56*x;
mprintf("The number of digits are %.0f",ans);