1 2 3 4 5 6
//Example 10.10// xc=15; x=7; xm=2; m=round((xc-x)/(xc-xm)*100) mprintf("m = %i mol percent",m)