Question: how to fit data set to a pre-determined form of function and get the R-Squared value

I got two columns of data in excel: current (I) and voltage (V). What i want to do the following things:

1. read the data set into Maple 12.

2. plot the current vs voltage

3. Fit the plot to the function with polynomial form:  I=aV^2+bV

4. find the R-squared value of the fitted function.

Could anyone kindly tell me the detailed code to achieve this, thanks a million.

 

Please Wait...