470,616 Members | 2,078 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 470,616 developers. It's quick & easy.

Dividing a Number into Unequal Parts

Title looks unclear but what I need is fairly simple:

Suppose we have a rope 100cm long, and we want to divide it into 10 equal parts. In this case each part would be 10cm long.

Now, what if we want to divide it into unequal parts; say each part will be x times longer than the previous part. How to write such an equation?
Dec 16 '08 #1
3 10080
11,448 Expert 8TB
If the smallest piece of rope has length l (lower case ell) then the next parts have lengths x*l x^2*l x^3*l ... x^9*l (ten pieces in total).

The sum of these numbers must equal 100 so:

l+x*l+x^2*l+ ... x^9*l == 100 -->

l*((1-x^10)/(1-x)) == 100 -->

x is a constant so:

l*C == 100 --> l == 100/C

kind regards,

Dec 16 '08 #2
Hmm, you explained it so clear -and fast. Thanks very much.

I think I need a 'simple maths' sub-forum here to post :)
Dec 16 '08 #3
13,262 8TB
Ha, the off-by-one does Jos in again.
Dec 17 '08 #4

Post your reply

Sign in to post your reply or Sign up for a free account.

Similar topics

5 posts views Thread by M. Akkerman | last post: by
5 posts views Thread by Hasanain F. Esmail | last post: by
122 posts views Thread by Einar | last post: by
20 posts views Thread by William Stacey [MVP] | last post: by
73 posts views Thread by cesco | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.