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:

Experienced Virtual Assistant Needed

I am in need of an experienced virtual assistant that would be able to assist me in my real estate business. It is an Australian/Global property firm...

  • Fixed Price Project
  • Max $100
  • 2 years, 1 month left

Bulk Order Articles

We are looking for a number of writers (10-15) 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...

  • Fixed Price Project
  • Max $500
  • 3 months 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
  • 3 months 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
  • 3 months 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
  • 3 months 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
  • 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, 4 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, 4 months left

Our Transcription Team Is Growning. Join Us (usa Only)

Our team is looking for experienced transcribers. There is work available to be done daily. You must be willing to join our team as exculsive affilate. I will assign work to you as I get it in. You must be available at least three days per week. Weekend work is required...

  • Fixed Price Project
  • Max $15
  • 6 years, 1 month 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 month left

Job Details

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