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