Skip to main content
1-Visitor
November 22, 2010
Question

Learning functions

  • November 22, 2010
  • 2 replies
  • 9286 views

Hello,

Im new to mathcad and im learning everyday from books and the built in help..

i have to find out a few unknowns from the data provided.. I have plotted the graph in the attachment..I have attached the file in pdf to avoid compatibility issues. Ive also attached it in mathcad 13 format... Ive also attached the data sets from which i took the values from

but i dont understand how to use it or what parameters to give it?

Can you please help me out here.. Am i going right till now?

Thank you

2 replies

17-Peridot
November 23, 2010

Hello UKman,

I'm not certain what you're after but the attached altered MC sheet may help. It is not an elegant solution but it will help to find peaks.

Basically, what I did is as follows:

  • use a fitting function to create a polynomial
  • extract the coefficients of the fitting function

You need to create a polynomial with this coefficients which than can be evaluated as shown in the quicksheet "Finding roots of a polynomial"

Raiko

UKMan1-VisitorAuthor
1-Visitor
November 23, 2010

Thanks a lot for your replt, Raiko.. but the file you attached is not working..

when in open it in Mathcad 14 it gives me an error saying "An unknown runtime error occurred.. Exiting.."

and after his the program crashes.. can you please look into it..

Thanks a lot for looking into this problem and for helping out..

can you please provide a working file.. Thank you

1-Visitor
November 23, 2010

The peak of what curve Hits or ss?

Mike

19-Tanzanite
November 24, 2010

Don't smooth data that you are going to fit a function to using least squares. Least squares fitting handles noise very well, and smoothing will either have almost no effect or it will bias the parameter estimates. It's better to do the least squares fit using minerr rather than genfit. It's easier to set up and more flexible.

If the heights and/or standard deviations of the two distributions are supposed to be the same you can easily modify the worksheet so that those parameters are scalars rather than two element vectors.

UKMan1-VisitorAuthor
1-Visitor
November 24, 2010

Thank you everyone for the all the help..

@Richard Jackson

I have sent you a private message. Can you please check it out.

Thank you