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:

Ab Initio Consultant

Job Title: Ab Initio Consultant (Multiple Positions) Location: NJ/FL/TX Duration: Full-time Job Requirements: "

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

This May Need A Whole Team Including But Not Limited To All Aspects Of Web Development. For A Group Of Micro Real Estate & HOA Websites

Integrated - Real Estate marketing websites: AND Home Owner Association Websites: like the ones these companies build http://www.hoa-sites.com/ , http://www.hoaconnections.com/ , and http://www.associationcomm...

  • Fixed Price Project
  • Max $5000
  • 10 months, 1 week 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
  • 11 months, 3 weeks 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
  • 11 months, 3 weeks 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, 8 months left

I Need A Blog Designed

I need a blog designed. I want it to have a personal look and feel. I would also like to integrate social media, email, and text message. I also want it to be in wordpress or blogger. Contact me for more details.

  • Fixed Price Project
  • Max $150
  • 3 years, 3 months left

FIXED (not Hourly) PHP / JSP Expert - Full Or Halftime Position.

Need expert in CSS3, HTML5, PHP, JSP. Job entails getitng PSD mockups and then doing everythign in WP (creating a theme from scratch) and also integrating designs using JSP for other projects. Applicant should: 1) be able to work in EST time...

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