mahad

0 Reputation

2 Badges

14 years, 249 days

MaplePrimes Activity


These are questions asked by mahad

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);

My problem is to find the right equation to get the best plot to the data shown below, please commen on it

 

> restart;

> with(CurveFitting):with(plots);

Warning, the name changecoords has been redefined

Warning, the previous binding of the name Interactive has been removed and it now has an assigned value

 

>

> datax:=...

I used the answer given in maple 10,  the error below happened, can you commen on it

 

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>:

Error, `:` unexpected

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

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

I have very simple equation for example

 

from equation   y=x+ex

we get the data     x :  1, 2, 3 , 4 ,5 , 6, 7 , 8 , 9 , 10

                           y :  3.7, 9.39, 23.09, 58.60, 153.41, 409.43, 1103.63, 2988.98, 8112.08, 22036.47

 

1) ...

Page 1 of 1