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:

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
  • 5 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, 12 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, 12 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, 12 months left

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
  • 1 year, 6 months 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