Excel

To create an array formula you select the cells in which you want the results (ie the slope and intercept) to appear and press control-shift-enter and Excel will enclose the formula in curly braces to signify that the result is an array of values. ................
................