已知y=ax+b帮我用最小二乘法算出a和b下面是x的8组数据0,-0.04,-0.08,-0.11,-0.14,-0.17,-0.20,-0.24.y所对应的8组数据为8.75,8.53,8.45,8.32,8.22,8.11,8.01,7.91.帮我尽快计算出a和b啊.

问题描述:

已知y=ax+b帮我用最小二乘法算出a和b
下面是x的8组数据0,-0.04,-0.08,-0.11,-0.14,-0.17,-0.20,-0.24.y所对应的8组数据为8.75,8.53,8.45,8.32,8.22,8.11,8.01,7.91.帮我尽快计算出a和b啊.