3.8(a) Multiple Linear Regression for Margules Equations |POLVER05_ |4 10 10 x1 gamma1 gamma2 x2=1 - x1 g=x1 * ln(gamma1) + x2 * ln(gamma2) X1=x1 * x2 ^ 2 X2=x1 ^ 2 * x2 gam1calc=exp(x2 ^ 2 * (2 * 0.46092 - 0.25112) + 2 * x2 ^ 3 * (0.25112 - 0.46092)) gam2calc=exp(x1 ^ 2 * (2 * 0.25112 - 0.46092) + 2 * x1 ^ 3 * (0.46092 - 0.25112)) sumterm=(gamma1 - gam1calc) ^ 2 + (gamma2 - gam2calc) ^ 2 0.0464 1.2968 0.9985 0.9536 0.0106279 0.042194 0.0020531 1.278978 1.000131 0.0003203 0.0861 1.2798 0.9998 0.9139 0.0210584 0.0719119 0.0067749 1.271139 1.000574 7.562E-05 0.2004 1.2358 1.0068 0.7996 0.0478473 0.1281278 0.0321121 1.239017 1.005049 1.342E-05 0.2792 1.1988 1.0159 0.7208 0.0619954 0.1450591 0.0561883 1.210867 1.01243 0.0001577 0.3842 1.1598 1.0359 0.6158 0.0786764 0.1456923 0.090898 1.169247 1.030347 0.0001201 0.4857 1.1196 1.0676 0.5143 0.0885122 0.1284698 0.1213257 1.127867 1.059529 0.0001335 0.5824 1.0838 1.1096 0.4176 0.0902979 0.1015646 0.1416456 1.090252 1.101756 0.0001032 0.6904 1.0538 1.1664 0.3096 0.0838331 0.0661763 0.1475715 1.053205 1.170906 2.065E-05 0.7842 1.0311 1.2401 0.2158 0.0704555 0.0365199 0.1327104 1.027387 1.255792 0.00026 0.8972 1.0078 1.4038 0.1028 0.041839 0.0094815 0.0827507 1.006654 1.399764 1.76E-05 * g=A*x1*x2^2+B*x1^2*x2 A=1 B=1