blob: e2a2323f4201fe1a3292f3882b54f0d6b0009a97 (
plain)
1
2
3
4
5
6
7
8
|
// Chapter 23 Ex7
clc;
clear;
close;
x=1; y=2; z=3;
ans=(1/(log((x)*(y)*(z))/log((x)*(y))))+(1/(log((x)*(y)*(z))/log((z)*(y))))+(1/(log((x)*(y)*(z))/log((x)*(z))));
mprintf("The answer is %d",ans);
|