summaryrefslogtreecommitdiff
path: root/1553/CH23/EX23.5/23Ex5.sce
blob: 91117154b6dd3ee08789b09624d75726fde3393e (plain)
1
2
3
4
5
6
7
8
// Chapter 23 Ex5

clc;
clear;
close;
n1=75; n2=16; n3=5; n4=9; n5=32; n6=243;
ans=(log(n1/n2)-2*log(n3/n4)+log(n5/n6));
mprintf("The answer of the equation is %.2f",ans);