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);