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:

Versatile Experienced Writer - Long Term

We are US based Internet marketers involved deeply in affiliate marketing. We are looking for a writer to add to our existing team of 2 writers. Our candidate should be capable of writing on almost anything under the sun effectively including short and long product reviews...

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

Creative And Versatile Writer Long Term Position For The Right Candidate

Please read the following carefully. Applicants who will not follow the guidelines in this application will be marked as SPAM...

Skills Required: blog-writing seo grammar test
  • Fixed Price Project
  • Max $200
  • Job Expired

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
  • 3 months, 4 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
  • 8 months, 2 weeks 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
  • 3 months, 1 week left

Ghostwriter

Contact me if you need an amazing writer for any genre of music no matter if whole songs, verses, or just hooks. Write exquisite biographies; Critique resumes to professional standards as well as write whole ones. Write electrifying poems; co author books. Write well thought out articles and marv

  • Fixed Price Project
  • Max $50
  • 2 months, 2 weeks 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 $300
  • 4 months, 2 weeks 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
  • 4 months, 2 weeks left

Job Details

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