POV-Ray : Newsgroups : povray.binaries.images : pyramid math (2 jpegs, 144k) : Re: pyramid math (2 jpegs, 144k) Server Time
5 Nov 2024 02:18:01 EST (-0500)
  Re: pyramid math (2 jpegs, 144k)  
From: alphaQuad
Date: 17 Jan 2008 20:55:00
Message: <web.479006afb3ba6fcf862a19220@news.povray.org>
stbenge <stb### [at] hotmailcom> wrote:
> Ray Bellis wrote:
> > stbenge wrote:
> >> Hi everyone,
> >>
> >> Today I figured out a couple of mathematical expressions to find the
> >> number of bricks for any given 2d or 3d pyramid. I had previously
> >> figured out the 2d version, but the equation was a bloated
> >> monstrosity. The new one is much simpler!
> >
> > http://pirate.shu.edu/~wachsmut/ira/infinity/answers/sm_sq_cb.html
> >
> > 2D pyramid = 1 + 2 + 3 + .. + n
> >            = n * (n + 1) / 2
> >
> > 3D pyramid = 1 + 2^2 + 3^2 + .. + n^2
> >            = n * (n + 1) * (2n + 1) / 6
>
> Yeah well, like I said, it was fun to come up with this independently. I
> wonder if anyone else has used a similar geometric approach?
>
> Sam

you cant just leave it like that.

4D pyramid = 1 + 2^3 + 3^3 + .. + n^3





Post a reply to this message

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