Source code in C programming needed for inverse interpolation.

Posted on 2005-05-12
Medium Priority
Last Modified: 2012-05-07
Hi, Can I get the source code for inverse interpolation? I need a full solution to be in C. Can anyone help?

Accepted Solution

makc_the_great earned 200 total points
ID: 13994851

  This routine computes a simple root in the equation f(x)=0 using
  inverse interpolation.It is assumed that the root is is in an in-
  terval (a, b) satisfying f(a)*f(b) < 0.

regarding your problem, to find x for some y, you have f(x)=y-L(x).

Assisted Solution

Sergio_Hdez earned 200 total points
ID: 14008976
In general, no inverse interpolation can be made. A lot of different sets of points can interpolate into the same funtion, so inverse is not defined for that funtion in the general case.

For instance, 2 points interpolate into a line, but a line can be inverse interpolated into ANY set of two different points inside the line... or 3 points inside the line, or 4... or a cloud of points non of it laying exactly inside the line. Infitine sets of points interpolate into the same line!

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction On a scale of 1 to 10, how would you rate our Product? Many of us have answered that question time and time again. But only a few of us have had the pleasure of receiving a stack of the filled out surveys and being asked to do somethi…
This article seeks to propel the full implementation of geothermal power plants in Mexico as a renewable energy source.
Although Jacob Bernoulli (1654-1705) has been credited as the creator of "Binomial Distribution Table", Gottfried Leibniz (1646-1716) did his dissertation on the subject in 1666; Leibniz you may recall is the co-inventor of "Calculus" and beat Isaac…
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…
Suggested Courses
Course of the Month17 days, 2 hours left to enroll

864 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question