# Polynomial Generator

Input a list of points and create a polynomial that passes through those points.

Process:

Prompts user to input a set of points

Places the points into a list

Scrolls through the list making separate equations for each by replacing x and y in ax^n + bx^(n-1) . . . mx + n = y (without the coefficients) with the coordinates

Stores each term in each equation in a list and the y value in another

Stores all term lists into a matrix represented by a list of lists and all y values in another

Multiplies the inverse of the matrix of coefficients by the matrix of y values to get the solution matrix

Pairs each coefficient with the value it corresponds to in the solution matrix and prints it out

This looks interesting but, what is the "matrix" exactly for and would be nice if you could display it in polynomial form instead of just listing the co-efficients.

So, my only recommendation, for now, would be when you post something on the forums, keep the description a little more detailed.