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:

Full Time Permanent Position - SEO,Blog Post Writer/Internet Marketing/Social Networking

I have three wordpress websites that I need a full-time employee to do all of my online marketing and content creation. The three websites are www.KarinaHarris.com, www.KarinaSecrets.com, www.CueMe...

  • Fixed Price Project
  • Max $275
  • 2 years, 10 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
  • 3 years, 9 months left

Administrative Support Professionals In TAMPA

I am looking for any Tampa natives to join my team. Must be knowledgeable of the area (there will be a test question or two to ensure you are from the area)...

Skills Required: test english
  • Fixed Price Project
  • Max $200
  • Job Expired

Need 5 Fast Writers To Join My Team

Hello oDeskies, This is a coming up company now in business for more than 6 month. We want to have one of the best team of writers ever in online market place for outsourcing . We are currently searching for 5-10 members to join your team...

  • Fixed Price Project
  • Max $500
  • 1 year left

Need 5 Fast Writers To Join My Team

Hello oDeskies, This is a coming up company now in business for more than 6 month. We want to have one of the best team of writers ever in online market place for outsourcing . We are currently searching for 5-10 members to join your team...

  • Fixed Price Project
  • Max $500
  • 1 year 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
  • 3 years, 9 months left

Website & Logo Design Needed.

Looking for a website and logo for a new business. Business is offering: Direct Mail, SMS Marketing, Web & Mobile Site Design. Opportunity for the right person to continue with company for future projects. * Ideally looking for a US Based Contractor...

Skills Required: css3 html5 javascript
  • Fixed Price Project
  • Max $100
  • 3 years, 3 months left

Website IBBA

develop 4 pages wesbite working on explorer, apple,ipad (not needed on smartphones first page home with w-few pictures, link to 'contact', link to committee memebers and link to events text (sort rss feeds) running onder screen link to several social media online adress list of invites (

Skills Required: Web Development , Web Design
  • Fixed Price Project
  • Max $100
  • 3 years, 4 months left

Develop A Location-Based Skills Website

This website is designed to link skilled people with clients who need small tasks to be completed in their local area. Vendors create skill profiles, and clients search for them using skills and geographic location as the main criteria...

  • Fixed Price Project
  • Max $7000
  • 3 years, 6 months left

Design A Single Web Page

We need to design a single web page. This webpage is related to business category. This web page should be responsive webpage and should be designed using html5, css3 and photoshop. Please apply by sending your past work done or by sending the jpeg file of the designed page for reference purpose. T

Skills Required: adobe-photoshop css3 html5
  • Fixed Price Project
  • Max $5
  • 3 years, 7 months left

Job Details

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