blob: 8abfc9d72da420f0263b756460f75ce84b310961 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
//chapter 23 Ex 9
clc;
clear;
close;
//(i)
n1=25
ans1=log10(n1);
mprintf("The value of log %d is %.3f",n1,ans1);
//(ii)
n2=4.5
ans2=log10(n2);
mprintf("The value of log %d is %.3f",n2,ans2);
|