Mathematica 9 is now available
Student Support Forum
-----
Student Support Forum: 'Function from Interpolation meets Function' topicStudent Support Forum > General > Archives > "Function from Interpolation meets Function"

Next Comment >Help | Reply To Topic
Author Comment/Response
Matthias
06/08/13 10:18am

Hi,
i made a function by interpolating points with "Interpolation[points, InterpolationOrder -> 1]

Now i want to compare this function with another and see where they meet.

I couldnt manage it with "SOLVE". I sure there is an easy way, but i cant find it.

Here is how it looks right now:
thanks for your help!


points = {{0, 0}, {1, -1}, {2, -1}, {3, -1}, {4, -0.5`}, {5,
0}, {6, -1}, {7, -1}, {8, -1}, {9, -1}, {10,
0}, {11, -1}, {12, -0.75`}, {13, -0.5`}, {14, -0.25`}, {15,
0}, {16, -0.25`}, {17, -0.5`}, {18, -0.75`}, {19, -1}, {20, 0}};
(*Function Polygon*)
f = Interpolation[points, InterpolationOrder -> 1];

point1 = {0.5, -0.5};
g [x_] := -1 + x

Plot[{f[x], g[x]}, {x, 0, 20}]

Solve[f[x] == g[x], x]

URL: ,

Subject (listing for 'Function from Interpolation meets Function')
Author Date Posted
Function from Interpolation meets Function Matthias 06/08/13 10:18am
Re: Function from Interpolation meets Function jf 06/08/13 6:27pm
Re: Re: Function from Interpolation meets Funct... Matthias 06/09/13 05:02am
Re: Function from Interpolation meets Function jf 06/09/13 1:43pm
Next Comment >Help | Reply To Topic