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
  • 4 months, 1 week 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
  • 4 years, 4 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
  • 6 months, 1 week 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, 7 months 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, 7 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
  • 4 years, 4 months left

Make Facebook Quiz App

We are making Facebook quiz apps. https://www.facebook.com/EngineerRise/app_109770245765922 https://www.facebook.com/klmjapan/app_171857106202802 We need programmer who can help making apps like them. You can use previous project's codes and HTML coded design...

Skills Required: ajax facebook-api git heroku jquery
  • Fixed Price Project
  • Max $300
  • 3 years, 8 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, 10 months left

Looking For Landing Page And Sales Page For E CIG Business.

Hello. We are a growing company and we need the best landing and sales page ever seen before. We are an electronic cigarette business with tons of growth opportunities. Please forward examples of landing pages and sales pages you have completed in the past. If you have the skills we are look

  • Fixed Price Project
  • Max $100
  • 4 years, 1 month 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
  • 4 years, 2 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