Dear All,

I am a new Maple user and I am still unaware of a lots of fancy features of Maple. I have a problem of simultaneous fitting polynomials. I wish that I could have help from you. Say, we have two polynomials of two variables,

f1(x,y)=a1+a2*x+a3*y+(a4+a5)*x^{2}+(a4-a5)*y^{2};

f2(x,y)=b1+b2*x+b3*y+(a4-a5)*x^{2}+(a4+a5)*y^{2}.

Note that a4 and a5 are shared by the two polynomials. I would like to fit the two polynomials against their respective data set. Is there anyway I can do it using Maple? Any of your help is highly appreciated!

Best regards,

Toby

Dear Community,

I've made a nonlinear curve fit with the Minimize routine (see attachment). What would be an easy and elegant way to rerun the model (Model) with the fitted values of a, b, c and plot the result together with the measured points in the same chart? I'm stuck here.

Tx in advance,

best regards

Andras

BroSzem_Data.xlsx

Nonlin_Curve_Fit.mw

Dear Maple users

Physical experiment: I dropped a ball with low mass from a height of approximately 7 meters and wanted to test if the air resistance was proportional to the square of the velocity. I filmed the fall and used the program Logger Pro to collect data: a number of datapoints (time,height) was collected. I copy/pasted the datapoints into MS Excel, from where I could import data into Maple via Tools > Assistants > Import Data ... Then I wanted to make a fit with the theoretical solution, given by a function having just one parameter: the Drag coefficient. Unfortunately I received an error "complex values encountered" (see below). I can solve the problem manual by making a number of guesses for the drag coefficient, until the theoretical curve approximates the data points well. I wanted to make Maple do the fitting job, though. I will appreciate if someone could give an idea how to fit the data properly.

NB! Mass m and g is defined above in the Maple document. The Statistics and plots package is called too.

I have a function fitted and found the coeffiecients, the coeffiecient values are found with data from maple

the function is: a*(x+b/c)

my result is 5x+15

How do I get the values of a, b and c? The value of a is 5 that I know, but how does I get that maple gives me all the values of a,b and c? The problem is that I get one value while i need the values of a, b and c.

Thanks

Ok guys, so i have a bunch of datapoints in 3d (x,y,z)

I'm trying to calculate an equation using maple that will express z as a function of x and y.

I've been browesing around for like 2 hours now with no hope. Help?

Hi. It is be good to be with you after 4 years.

I want to ask about Curvefitting for Data. If I have a numerical data and i want to find a function in x and y for these data.

i have a non linear equation that depends on three variables e, theta and z.

i have done calculations to calculate e while varying theta and z. theta varied among the vector [0, Pi/4, Pi/3, Pi/2] and z was varying between 1 and 20

when plotting my data it gives the following plot where z is represented on the x-axis and each curve correspond to one theta

i am currently able of fitting one plot to one equation i would like to fit the data points using the nonlinearfit function and to only get one equation for all the plots. is that possible in maple or not

Hey, I have some data points:

I than entered:

X := Data[() .. (), 1];Y := Data[() .. (), 2];f := a+b*x^c+d*x^e;Statistics:-NonlinearFit(f, X, Y, x); and when I entered Statistics:-NonlinearFit(f, X, Y, x);, It wouldn't output anything.

Hello,

I am new to Maple.

I have a set of spreadsheet data :(x1, y1), (x2, y2) .....(xn,yn).

And I have an equation that contains an infinite series with unkowns.

e.g.) y= A*x + sum ( B * exp(-n^2 * (x-C)) /n^2, n=1..infinity);

Where A, B, C are unkowns, which I want to get optimized values for the spreadsheet data fitting.

Please let me know.

Sung Yeol

Find the function satisfying the following conditions:

f(-6)=2400,f(-4)=432,f(-3)=120,f(-2...

Hey guys

I am currently working on my final project in high school. This project is about mathematical modelling within epidemology, and i am currently working on the mathematical models based on the SIR model.

The basis models for the SIR model were pretty easy, but i cant figure out how to fit data to my models. My first idea was to use the method of Leastsquare and/or Nonlinearfit, but i cant figure out how to do this in maple.

Dear All:

I have a curve about mosfet Coss Vs. Vds . the detail math relationship can be found in the following picture:

Can anyone fitting this picture by simple math function.

PS: pls don't considering piecewise function

HI,

I measured some points. This points are plotted in a graph. Now I want to make a fit on this points.

I now that the fit-function has to be like this:

F = A + B1 x e^(-t/C1) + B2 x e^(-t/C2)

Problem: how can I create a fitting function like that?

The best thing I found is the "spline"-fit, but it doesn't work properly. It has to be one lonely function, not a summary of several functions (like spline).

Hi, I'm trying to fit an equation:

starting_salary= (intercept+SEX*B0) +B1*GPA +B2* METRICS

(metrics,sex are dummy variables, either 0 or 1) to see how sex coefficient affects the intercept ( how it affects starting_salary)

(later on I want to see how metrics affects starting_salary for either sex=1 and sex =0 .. anyways I disgress)

STARTING_SALARY :=:

GPA:=:

METRICS: =;

I have a huge .txt file in it is a lot of difirent numbers. At first I am doing this:

>data:=readdata(C:/text.txt, 1, integer)

Maple reads the file. I have a function p(x)=e^(x^4+0.5*a*x^2+b*x)I tried to draw a histogram and then to do something with fitting, I know that then I have to do logarithm the function then I get ln(p(x))=x^4+0.5*a*x^2+b*x, the histogram then should be up side down. The point is that...

You must be logged into your Facebook account in order to share via Facebook.

Click the button below to share this on Google+. A new window will open.

You must be logged in to your Twitter account in order to share. Click the button below to login (a new window will open.)

Please log-in to your MaplePrimes account.

Wrong Email/Password. Please try again.

Error occurred during PDF generation. Please refresh the page and try again