POV-Ray : Newsgroups : povray.off-topic : Sums in a Spreadsheet : Re: Sums in a Spreadsheet Server Time
7 Sep 2024 13:22:19 EDT (-0400)
  Re: Sums in a Spreadsheet  
From: Chambers
Date: 9 May 2008 21:00:00
Message: <web.4824f2805e92adc7261d9700@news.povray.org>
Paul Fuller <pgf### [at] optusnetcomau> 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

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.