Curve Fitting

Hi

Am struggling a bit with trying to implement an algorithm from Numerical Recipes in C.

Given a set of points that produce a nice gentle 2nd degree polynomial curve, I want to find a,b and c such that y = ax^2 = bx + c.

Have tried using svdfit but am getting a :no convergence in 30 svdcmp iterations, so perhaps I am doing something wrong. Another alternative would be lfit.

Here is some sample data to test your program on.

1.5625 2802.5
2.5625 4802.5
3.5625 6602.5
4.5625 8202.5
5.5625 9642.5
6.5625 10922.5
7.5625 11922.5
8.5625 12722.5
9.5625 13402.5

Solution must be in ANSI C and be well commented with explanations on use.

Happy for you to simply get the NR algorithm to work and explain how you did it.

Thank you

Search All Jobs:

Long Term Graphic Designer Needed - Pay Monthly

Our company is looking for a creative person who can do the following for our graphic design firm. We are running a graphic design services online and we are getting many project per day. We want someone who is good at Adobe Photoshop and Illustrator to help us fulfill our projects...

Skills Required: design test facebook
  • Fixed Price Project
  • Max $500
  • 5 months, 1 week left

Bulk Order Articles

We are looking for a number of writers (5) who can handle bulk work daily to join our team, need to be passionate about writing and can handle any kind of writing work at any given time they are required. English is a plus plus. Must have passed U.S basic skills test as well...

Skills Required: english test
  • Fixed Price Project
  • Max $500
  • 2 months, 1 week left

Writers From Kenya Needed To Start Asap!!

I need like 10 writers from Kenya to start working ASAP. Do not apply if you can not write as I will give a test to evaluate you. I need contractors who can write 10+ articles a day and keep deadlines as well. Articles are mostly 500 words...

Skills Required: test english
  • Fixed Price Project
  • Max $400
  • 3 months, 2 weeks left

Writers From Kenya Needed To Start Asap!!

I need like 10 writers from Kenya to start working ASAP. Do not apply if you can not write as I will give a test to evaluate you. I need contractors who can write 10+ articles a day and keep deadlines as well. Articles are mostly 500 words...

Skills Required: test english
  • Fixed Price Project
  • Max $400
  • 3 months, 2 weeks left

Blogger Needed In 2-3 Hour On Adult & Relationship Educative Articles

Writers needed to write on Adult and relationship blog articles. Do not bid if you can not do this. I will pref native speakers or any one that has the language that matches that of the natives ONLY!! Please do not apply if you are not a native English speaker...

Skills Required: english test blog-writing grammar
  • Fixed Price Project
  • Max $500
  • 1 year, 3 months left

Blogger Needed In 2-3 Hour On Adult & Relationship Educative Articles

Writers needed to write on Adult and relationship blog articles. Do not bid if you can not do this. I will pref native speakers or any one that has the language that matches that of the natives ONLY!! Please do not apply if you are not a native English speaker...

Skills Required: english test blog-writing grammar
  • Fixed Price Project
  • Max $500
  • 1 year, 3 months left

Blogger Needed In 2-3 Hour On Adult & Relationship Educative Articles

Writers needed to write on Adult and relationship blog articles. Do not bid if you can not do this. I will pref native speakers or any one that has the language that matches that of the natives ONLY!! Please do not apply if you are not a native English speaker...

Skills Required: english test blog-writing grammar
  • Fixed Price Project
  • Max $500
  • 1 year, 3 months left

Blogger Needed In 2-3 Hour On Adult & Relationship Educative Articles

Writers needed to write on Adult and relationship blog articles. Do not bid if you can not do this. I will pref native speakers or any one that has the language that matches that of the natives ONLY!! Please do not apply if you are not a native English speaker...

Skills Required: english test blog-writing grammar
  • Fixed Price Project
  • Max $500
  • 1 year, 3 months left

Writers From Kenya Needed To Start Asap!!

I need like 10 writers from Kenya to start working ASAP. Do not apply if you can not write as I will give a test to evaluate you. I need contractors who can write 10+ articles a day and keep deadlines as well. Articles are mostly 500 words...

Skills Required: test english
  • Fixed Price Project
  • Max $400
  • 3 months, 2 weeks left

Audio Engineer

Am looking for a good music professional (music producer) who can be able to make instrumentals when i send him or her some vocals. When applying it would be of help if you provide a few examples of instrumentals you have created before. Thanks, Robert.

  • Fixed Price Project
  • Max $100
  • 1 week, 2 days left

Job Details

  • Job Type
  • Fixed Price Job
  • Budget
  • Max $20
  • Start Date
  • 01/03/2012 07:57:11 PM
  • Job Status
  • Job Expired