On 4/23/2009 8:58:09 AM, adiaz wrote:
>Do you need the exact value?
>
>Regards. Alvaro.
_________________
I didn't attempt understanding what it supposed to produce as a custom project. But clearly it is a recursive problem that is of same nature as Fibonacci. Get inspired for one column from fib(m) below Marlett, which fib(m) is the "Mathcad Speedy Gonzalez" for that kind of recursion.
I didn't understand your "genfit", genfit for what on recursive ? Interpolate between values, OK , but you will have to use a more general interpolating function rather than a model function ... like a polynomial or better rational on a range of data points around the desired interpolated values. I'm saying that as the project will issue all sorts of data points, therefore predicting failure of models, unless a large amount of time would be spent and conditionally to a reasonable project.
Efficient programming is quite a challenge in Mathcad. It does not necessarily result from logical-immediate thinking. fib(m) is either from the Mathcad Treasury or the Advisor. It has been posted several times in this collab.
jmG