Example 4-8-10 - Maple Help
For the best experience, we recommend viewing online help using Google Chrome or Microsoft Edge.

Online Help

All Products    Maple    MapleSim

Chapter 4: Partial Differentiation

Section 4.8: Unconstrained Optimization

Example 4.8.10

Choose a and b so that the line y=a x+b minimizes S=k=1na xk+byk2, the sum of squares of the deviations from the points 1,5.3,3,8.8,5,12.5,6,15.4 to the line. Such a line is called the "least-squares" line.

<< Previous Example   Section 4.8    Next Example >>

© Maplesoft, a division of Waterloo Maple Inc., 2023. All rights reserved. This product is protected by copyright and distributed under licenses restricting its use, copying, distribution, and decompilation.

For more information on Maplesoft products and services, visit www.maplesoft.com