Math Help Forum

Math Help Forum Feed Site Feed

Go Back   Math Help Forum > College/University Maths Help > Advanced Topics
Reply
 
Thread Tools Display Modes
  #1  
Old 08-26-2008, 05:01 PM
Newbie
 
Join Date: Aug 2008
Posts: 1
Country:
Thanks: 0
Thanked 0 Times in 0 Posts
bnvm is on a distinguished road
Default Function Constants from Data?

I have data:

x = 1.0, y = 1.5
x = 2.0 y = 0.45
x = 3.0 y = 0.21111
x = 4.0, y = 0.121324

I know this data comes from a function that has 2 or more inverse square functions added to each other. Example...

y = (A / x^2) + (B / (C + X)^2)

or

y = (A / x^2) + (B / (C + X)^2) + (D / (F + X)^2)

etc....

How can I solve for the constants when there are two added inverse square functions or more? Any suggestions would be greatly appreciated.

Thanks in advance,

David
Reply With Quote
Advertisement
 
  #2  
Old 09-07-2008, 08:01 AM
CaptainBlack's Avatar
Grand Panjandrum


 
Join Date: Nov 2005
Location: Somewhere near the south coast
Posts: 10,103
Country:
Thanks: 472
Thanked 2,602 Times in 2,164 Posts
CaptainBlack has a reputation beyond reputeCaptainBlack has a reputation beyond reputeCaptainBlack has a reputation beyond reputeCaptainBlack has a reputation beyond reputeCaptainBlack has a reputation beyond reputeCaptainBlack has a reputation beyond reputeCaptainBlack has a reputation beyond reputeCaptainBlack has a reputation beyond reputeCaptainBlack has a reputation beyond reputeCaptainBlack has a reputation beyond reputeCaptainBlack has a reputation beyond repute
Default

Quote:
Originally Posted by bnvm View Post
I have data:

x = 1.0, y = 1.5
x = 2.0 y = 0.45
x = 3.0 y = 0.21111
x = 4.0, y = 0.121324

I know this data comes from a function that has 2 or more inverse square functions added to each other. Example...

y = (A / x^2) + (B / (C + X)^2)

or

y = (A / x^2) + (B / (C + X)^2) + (D / (F + X)^2)

etc....

How can I solve for the constants when there are two added inverse square functions or more? Any suggestions would be greatly appreciated.

Thanks in advance,

David
It is impossible to fit a model with more parameters than there are data points uniquely to the data. It is nearly always possible to find a solution though. I would suggest using the Excel solver.

The first of your models has only three parameters, so a least squares fit of the model to the data should give a unique solution.

RonL
__________________
"It is proof of a base and low mind for one to wish to think with the masses or majority, merely because the majority is the majority"
--Giordano Bruno
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off
Forum Jump


All times are GMT -7. The time now is 05:28 PM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0 ©2008, Crawlability, Inc.
©2005 - 2008 Math Help Forum


Math Help Forum is a community of maths forums with an emphasis on maths help in all levels of mathematics.
Register to post your math questions or just hang out and try some of our math games or visit the arcade.