Question: error on curve fitting to find the constant and plotting the graph

after do some correction still have error some later part....please give the commmen...

 

> restart;

> X:=<1,2,3,4,5,6,7,8,9,10>:

> Y:=<3.7,9.39,23.09,58.60,153.41,309.43,1103.63,2988.98,1112.08,22036.47>:

> eqn:=a*x+exp(b*x):

> solution:=Statistics:-Fit(eqn,X,Y,x,output=parametervalues);

 

> solved_eqn:=eval(eqn,solution);

 

>  

> P1:=plot(<X|Y>,style=point,color=red):

Error, (in convert/list) cannot convert rtable with more than one dimension having range greater than 0; try convert(A,listlist)

>  

 

 

 

 

> P2:=plot(solved_eqn,x=min(X)..max(X),color=green):

Error, (in simpl/min) arguments must be of type algebraic

> plots:-display([P1,P2]);

Error, `plots` does not evaluate to a module

>  

Please Wait...