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:

$0.6 Excl Of ODesk Fees Per 500 Words Article

We are looking for a writers 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. You will be given a test to proof your capability. Please do not apply if you do not agree with the rates...

  • Fixed Price Project
  • Max $1000
  • 1 month, 4 weeks 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
  • 7 months left

Video Editor And Producer

We are looking to make several videos for the www.golfcoachdirect.com homepage, youtube channel and other social media outlets. Videos will range from how to's and faq's to a summary of lessons and tips and highlights from the site and the coaches who submit content...

Skills Required: video producer youtube
  • Fixed Price Project
  • Max $100
  • 2 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, 8 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, 8 months left

I Need DJ Managers That Will Earn A 50% Comission On Every Show I Will Do !

Hello, I am a French DJ, I have played in more than a hundred clubs in Paris and In Europe (Cracow, Praha, Amsterdam, London, Paris, Arnhem, Beyrouth, ...)...

  • Fixed Price Project
  • Max $10000
  • 2 weeks, 1 day 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
  • 5 months left

Need A Sound Design, SFX Editing, Music Composition, Final Mix For Children Animated Series

Looking for an expert and talented person for our Children Animated Series (Cartoon) project. It is a long-form job. A Theme Song also be needed. Before you think you can perform this job, please provide us with relevant information or portfolio related...

  • Fixed Price Project
  • Max $500
  • Job Expired

Music Producer Needed For Year Long Project

Cat Non-Profit organization needs music producer for yearlong project. Looking for Music that is a combination of Electronica, Pop and Rap. Music must be catchy and highly danceable. We must own exclusive rights to the music! Producer must be creative and able to mix together different sounds...

  • Fixed Price Project
  • Max $300
  • 1 month left

Music Producer Needed For Year Long Project

Cat Non-Profit organization needs music producer for yearlong project. Looking for Music that is a combination of Electronica, Pop and Rap. Music must be catchy and highly danceable. We must own exclusive rights to the music! Producer must be creative and able to mix together different sounds...

  • Fixed Price Project
  • Max $700
  • 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