Using Least Squares To Solve Systems of Equations
详细信息    查看全文
  • 作者:Joel Tellinghuisen
  • 刊名:Journal of Chemical Education
  • 出版年:2016
  • 出版时间:June 14, 2016
  • 年:2016
  • 卷:93
  • 期:6
  • 页码:1061-1067
  • 全文大小:418K
  • 年卷期:0
  • ISSN:1938-1328
文摘
The method of least squares (LS) yields exact solutions for the adjustable parameters when the number of data values n equals the number of parameters p. This holds also when the fit model consists of m different equations and m = p, which means that LS algorithms can be used to obtain solutions to systems of equations. In particular, nonlinear LS solves systems of nonlinear equations. An important example in chemistry is the case of reagents whose concentrations are coupled through multiple equilibrium relations. The capability of nonlinear LS in this application is examined for three programming environments, Excel Solver, FORTRAN, and KaleidaGraph, on a number of equilibrium problems having up to 10 unknown concentrations. FORTRAN and KaleidaGraph perform well in all the examples, but Solver presents difficulties that render it inadequate in several cases unless the problem is reformulated in terms of a smaller number of adjustable concentrations. When the input quantities (equilibrium constants, prepared concentrations) have uncertainty, the calculations can also be used to propagate these uncertainties into the derived quantities.

© 2004-2018 中国地质图书馆版权所有 京ICP备05064691号 京公网安备11010802017129号

地址:北京市海淀区学院路29号 邮编:100083

电话:办公室:(+86 10)66554848;文献借阅、咨询服务、科技查新:66554700