|
![](/i/fill.gif) |
Paul Fuller <pgf### [at] optusnet com au> wrote:
> If you have a specific f(x) and it is not too complex then you may be
> able to drive an expression for g(y) directly.
>
> For example in the simple case of f(x) = x you can get to:
> g(y) = x (x + 1) / 2
The original function is f(x) = M*R*(D^x), where M, R and D are constants.
I'd be using the function g(A) = sum of f(x), where x=0..A
Unfortunately, I don't know how to get a clean summation formula for this. Even
integration doesn't work, since I want every value from floor(x) to ceil(x) to
return the same value; that is, the function is only defined for integral
values of x.
....Chambers
www.pacificwebguy.com
Post a reply to this message
|
![](/i/fill.gif) |