Solved

# Source code in C programming needed for inverse interpolation.

Posted on 2005-05-12
Medium Priority
708 Views
Hi, Can I get the source code for inverse interpolation? I need a full solution to be in C. Can anyone help?
0

LVL 2

Accepted Solution

makc_the_great earned 200 total points
ID: 13994851
http://www.math.ntnu.no/num/nnm/Program/Numlibc/inv_int.c

DESCRIPTION:
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).
0

LVL 6

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!
0

## Featured Post

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