Login or Sign Up to become a member!
LessThanDot Site Logo

LessThanDot

A Technical Community for IT Professionals

Less Than Dot is a community of passionate IT professionals and enthusiasts dedicated to sharing technical knowledge, experience, and assistance. Inside you will find reference materials, interesting technical discussions, and expert tips and commentary. Once you register for an account you will have immediate access to the forums and all past articles and commentaries.

LTD Social Sitings

Lessthandot twitter Lessthandot Linkedin Lessthandot facebook Lessthandot rss

Note: Watch for social icons on posts by your favorite authors to follow their postings on these and other social sites.

Highly Rated Users

Forum
No Posts Rated

Top 50
Given
Received

Forum Statistics

Users
Members:
1507
Members Online:
2
Guests Online:
1

Total Post History
Posts:
80043
Topics:
18308

7-Day Post History
New Posts:
11
New Topics:
4
Active Topics:
5

Our newest member
joegollakner

Other

FAQ
All times are UTC [ DST ]

Google Ads

puzzle 22: Beers per day

Mind Boggling Puzzles, to keep that grey matter in shape...
Forum rules
Always post answers in a "Hidecode" tag, so that others have a chance to answer the question too.
Please wait...

puzzle 22: Beers per day

Postby chrissie1 on Fri Feb 13, 2009 11:14 am

Another friday, another puzzle. This one is a bit more ligthhearted.

A man earns a certain amount of chrissies a month he has to pay 15% taxes and every year he has to pay 0.5% taxes more than the year before. The man's income is indexed each year by 1%. When will that man's net income be 200% of his begin income.

And then the most important question of all, how many beers can the man afford to drink per day on a monthly basis knowing that a beer costs 2 chrissies and gets taxed 21% and gets indexed by 1.5% each year. Considering he can only spend 20% of his monthly income on beer because he's married.
pink fuzzy slippers
User avatar
chrissie1
Senior Guru
Senior Guru
LTD Gold - Rating: 2085LTD Gold - Rating: 2085LTD Gold - Rating: 2085LTD Gold - Rating: 2085LTD Gold - Rating: 2085
LTD Gold - Rating: 2085LTD Gold - Rating: 2085LTD Gold - Rating: 2085LTD Gold - Rating: 2085LTD Gold - Rating: 2085
LTD Gold - Rating: 2085LTD Gold - Rating: 2085
 
Posts: 9316
Joined: Wed Oct 10, 2007 7:18 pm
Location: Belgium
Unrated

Re: puzzle 22: Beers per day

Postby HarleyQuinn on Fri Feb 13, 2009 12:25 pm

Chrissie, just to check I've understood the question correctly before I finish up and post my answer, is the answer to the first part:[hide]He'll take home double his initial monthly income in 98 years?[/hide]
Andy
User avatar
HarleyQuinn
LTD Admin
LTD Admin
LTD Bronze - Rating: 46
 
Posts: 308
Joined: Tue Dec 18, 2007 3:14 pm
Location: Sheffield, UK
Unrated

Re: puzzle 22: Beers per day

Postby chrissie1 on Fri Feb 13, 2009 1:04 pm

[hide]Uhm no.
My calculations say 69 without tax or 68
depending if you give him a raise the first year or not.
He gets a 1% raise each year on the maount he already has.
So it's cumulative.[/hide]
pink fuzzy slippers
User avatar
chrissie1
Senior Guru
Senior Guru
LTD Gold - Rating: 2085LTD Gold - Rating: 2085LTD Gold - Rating: 2085LTD Gold - Rating: 2085LTD Gold - Rating: 2085
LTD Gold - Rating: 2085LTD Gold - Rating: 2085LTD Gold - Rating: 2085LTD Gold - Rating: 2085LTD Gold - Rating: 2085
LTD Gold - Rating: 2085LTD Gold - Rating: 2085
 
Posts: 9316
Joined: Wed Oct 10, 2007 7:18 pm
Location: Belgium
Unrated

Re: puzzle 22: Beers per day

Postby HarleyQuinn on Fri Feb 13, 2009 2:03 pm

Hmm, my calculations are way off then! Back to the drawing board for me! #-o

[hide]I did the amount and the tax cumulatively with 0 extra tax the first year, so the tax went 15%, 15.075%, 15.150375%, I'm beginning to think my method is the problem now.

EDIT ah, I get 69 years if I do the tax*0.05 every year but that takes the tax down every year.[/hide]
Andy
User avatar
HarleyQuinn
LTD Admin
LTD Admin
LTD Bronze - Rating: 46
 
Posts: 308
Joined: Tue Dec 18, 2007 3:14 pm
Location: Sheffield, UK
Unrated

Re: puzzle 22: Beers per day

Postby AlexCuse on Fri Feb 13, 2009 4:13 pm

If my income were distributed in Chrissies, I think I would need to drink at least 5 beers per day ;)

I'll hopefully get to try my hand at this one over the weekend
Say what you like about the tenets of National Socialism Dude, at least it's an ethos
User avatar
AlexCuse
LTD Admin
LTD Admin
LTD Gold - Rating: 1021LTD Gold - Rating: 1021LTD Gold - Rating: 1021LTD Gold - Rating: 1021LTD Gold - Rating: 1021
LTD Gold - Rating: 1021LTD Gold - Rating: 1021LTD Gold - Rating: 1021LTD Gold - Rating: 1021LTD Gold - Rating: 1021
LTD Gold - Rating: 1021
 
Posts: 5380
Joined: Tue Oct 09, 2007 5:26 pm
Location: Pennsylvania, US
Unrated

Re: puzzle 22: Beers per day

Postby earthandfire on Fri Feb 13, 2009 4:29 pm

I'm not sure how you've done your calculations, Chrissie.

This shows my workings (and indicates when the Gross pay doubles and when the Net pay doubles)

Code is hidden, SHOW
earthandfire
Senior Apprentice
Senior Apprentice
LTD Bronze - Rating: 63LTD Bronze - Rating: 63
 
Posts: 103
Joined: Sun Nov 25, 2007 6:07 pm
Unrated

Re: puzzle 22: Beers per day

Postby HarleyQuinn on Fri Feb 13, 2009 4:56 pm

I think mine's closer to yours Earth, [hide]the tax works out the same year by year only difference being is mine takes in a monthly gross salary, calculates tax for annual salary and then stops when it reaches net monthly salary = beginning monthly salary * 2[/hide]
Andy
User avatar
HarleyQuinn
LTD Admin
LTD Admin
LTD Bronze - Rating: 46
 
Posts: 308
Joined: Tue Dec 18, 2007 3:14 pm
Location: Sheffield, UK
Unrated

Re: puzzle 22: Beers per day

Postby earthandfire on Fri Feb 13, 2009 5:11 pm

HarleyQuinn, that is pretty much the same as I have done - I've just displayed the annual results:

Code is hidden, SHOW


I'll post the full code when Chrissie has come up with a defintive decision as to what he wants, since our results and his are so different
earthandfire
Senior Apprentice
Senior Apprentice
LTD Bronze - Rating: 63LTD Bronze - Rating: 63
 
Posts: 103
Joined: Sun Nov 25, 2007 6:07 pm
Unrated

Re: puzzle 22: Beers per day

Postby MHGlassman on Fri Feb 13, 2009 5:26 pm

Chrissie,

I have to agree with earthandfire and HarleyQuinn, although a different answer is possible, depending on how you interpret the original question.

Code is hidden, SHOW


As for the number of beers he can afford, since you give us no actual base salary, this is impossible to answer. However, we can examine the price of beer each year as well as what annual net income is required to support drinking his drinking.

Code is hidden, SHOW


Sadly, the price of beer at the end of this time is 430% of the original cost. His salary just cannot keep up. But then, probably his liver couldn't either!
"The trouble with quotes on the Internet is that it's 
difficult to determine whether or not they are genuine."
-- Abraham Lincoln
User avatar
MHGlassman
Senior Apprentice
Senior Apprentice
LTD Bronze - Rating: 115LTD Bronze - Rating: 115LTD Bronze - Rating: 115
 
Posts: 72
Joined: Tue Jun 17, 2008 7:58 pm
Location: Englewood, CO, USA
Unrated

Re: puzzle 22: Beers per day

Postby traingamer on Fri Feb 13, 2009 6:20 pm

A spreadsheet is, of course, the simplest way to do this. I've included the beers/day based on both gross and net pay. (How good a husband are you? I'm thinking you guys will be spending 20% of gross pay). :)

Code is hidden, SHOW


[hide]Year    Beer$ (net) Beer$ (gross)   Net     Gross       Tax Beer    with tax Beers/day/net  Beers/day/gross
1   8500.00     10000.00    42500.00    50000.00    0.15000 2.00    2.42        9   11
2   8577.43     10100.00    42887.13    50500.00    0.15075 2.03    2.46        9   11
3   8655.51     10201.00    43277.55    51005.00    0.15150 2.06    2.49        9   11
4   8734.26     10303.01    43671.30    51515.05    0.15226 2.09    2.53        9   11
5   8813.68     10406.04    44068.41    52030.20    0.15302 2.12    2.57        9   11
6   8893.78     10510.10    44468.88    52550.50    0.15379 2.15    2.61        9   11
7   8974.55     10615.20    44872.76    53076.01    0.15456 2.19    2.65        9   10
8   9056.01     10721.35    45280.06    53606.77    0.15533 2.22    2.69        9   10
9   9138.16     10828.57    45690.81    54142.84    0.15611 2.25    2.73        9   10
10  9221.01     10936.85    46105.04    54684.26    0.15689 2.29    2.77        9   10
11  9304.55     11046.22    46522.76    55231.11    0.15767 2.32    2.81        9   10
12  9388.80     11156.68    46944.01    55783.42    0.15846 2.36    2.85        9   10
13  9473.76     11268.25    47368.81    56341.25    0.15925 2.39    2.89        8   10
14  9559.44     11380.93    47797.19    56904.66    0.16005 2.43    2.94        8   10
15  9645.83     11494.74    48229.17    57473.71    0.16085 2.46    2.98        8   10
16  9732.96     11609.69    48664.78    58048.45    0.16165 2.50    3.03        8   10[/hide]

I think some of you are missing the cumulative nature of this problem.
Greg

People demand freedom of speech as a compensation for the freedom of thought which they seldom use. Kierkegaard
User avatar
traingamer
Senior Sage
Senior Sage
LTD Bronze - Rating: 233LTD Bronze - Rating: 233LTD Bronze - Rating: 233LTD Bronze - Rating: 233LTD Bronze - Rating: 233
 
Posts: 1482
Joined: Thu Feb 28, 2008 4:13 pm
Location: St. Louis, MO, US

Re: puzzle 22: Beers per day

Postby Emtucifor on Fri Feb 13, 2009 7:32 pm

The man's income is indexed each year by 1%.

I've never heard this expression before. I presume it means he gets a 1% raise each year, effective Jan 1? Aka cost-of-living increase.

Also, I have doubts about being able to answer the second question given that we don't know how much the man earns to start with?

If he makes 500 billion, he can buy a lot of beers. If he makes two, he can't buy any beers.
God cries a little bit every time someone builds a database.
User avatar
Emtucifor
Guru
Guru
LTD Gold - Rating: 1030LTD Gold - Rating: 1030LTD Gold - Rating: 1030LTD Gold - Rating: 1030LTD Gold - Rating: 1030
LTD Gold - Rating: 1030LTD Gold - Rating: 1030LTD Gold - Rating: 1030LTD Gold - Rating: 1030LTD Gold - Rating: 1030
LTD Gold - Rating: 1030
 
Posts: 2835
Joined: Fri May 30, 2008 9:30 pm
Location: Bellingham, WA
Unrated

Re: puzzle 22: Beers per day

Postby chrissie1 on Fri Feb 13, 2009 8:05 pm

Ok let me clarify. The salary for the beer is the salary you use to calculate his income.

If he has 10000chrissie income a year the first year than hea has 8500 net chrissie income. that means he has 1700 chrissie to spend on beer a year. divided by 365 that is 4.65 chrissie per day. Which is more or less real life ;-). So the first year he can buy 4.65/2.42 = 0.96 beers a day . Now it's up to you guys to calculate in the "index" Aka cost-of-living increase as E² calls it.

Now I made it to easy ;-).

Is that clear enough?
pink fuzzy slippers
User avatar
chrissie1
Senior Guru
Senior Guru
LTD Gold - Rating: 2085LTD Gold - Rating: 2085LTD Gold - Rating: 2085LTD Gold - Rating: 2085LTD Gold - Rating: 2085
LTD Gold - Rating: 2085LTD Gold - Rating: 2085LTD Gold - Rating: 2085LTD Gold - Rating: 2085LTD Gold - Rating: 2085
LTD Gold - Rating: 2085LTD Gold - Rating: 2085
 
Posts: 9316
Joined: Wed Oct 10, 2007 7:18 pm
Location: Belgium
Unrated

Re: puzzle 22: Beers per day

Postby chrissie1 on Fri Feb 13, 2009 8:07 pm

BTW traingamer is pretty close. Apart from the fact that you can't buy beers from the gross amount since you can't spend money that isn't yours. And the fact tha he is of by 10 tomes for the beers a day ;-)
pink fuzzy slippers
User avatar
chrissie1
Senior Guru
Senior Guru
LTD Gold - Rating: 2085LTD Gold - Rating: 2085LTD Gold - Rating: 2085LTD Gold - Rating: 2085LTD Gold - Rating: 2085
LTD Gold - Rating: 2085LTD Gold - Rating: 2085LTD Gold - Rating: 2085LTD Gold - Rating: 2085LTD Gold - Rating: 2085
LTD Gold - Rating: 2085LTD Gold - Rating: 2085
 
Posts: 9316
Joined: Wed Oct 10, 2007 7:18 pm
Location: Belgium
Unrated

Re: puzzle 22: Beers per day

Postby traingamer on Fri Feb 13, 2009 8:44 pm

chrissie1 wrote:BTW traingamer is pretty close. Apart from the fact that you can't buy beers from the gross amount since you can't spend money that isn't yours.


Sure you can, I can spend 2000 of my 10000 gross if I want to. It's my beer. (I know lots of people that spend 10% of their gross on entertainment - they just can't figure out why their budget doesn't balance).

And how does (even in Chrissie logic) 4.65/2.42 = 0.96 ?

I used int(#num of beers) in my formula because I figure you can't buy just part of a beer.
Last edited by traingamer on Fri Feb 13, 2009 8:48 pm, edited 1 time in total.
Greg

People demand freedom of speech as a compensation for the freedom of thought which they seldom use. Kierkegaard
User avatar
traingamer
Senior Sage
Senior Sage
LTD Bronze - Rating: 233LTD Bronze - Rating: 233LTD Bronze - Rating: 233LTD Bronze - Rating: 233LTD Bronze - Rating: 233
 
Posts: 1482
Joined: Thu Feb 28, 2008 4:13 pm
Location: St. Louis, MO, US
Unrated

Re: puzzle 22: Beers per day

Postby chrissie1 on Fri Feb 13, 2009 8:46 pm

traingamer wrote:And how does (even in Chrissie logic) 4.65/2.42 = 0.96 ?


I dunno ;-)
pink fuzzy slippers
User avatar
chrissie1
Senior Guru
Senior Guru
LTD Gold - Rating: 2085LTD Gold - Rating: 2085LTD Gold - Rating: 2085LTD Gold - Rating: 2085LTD Gold - Rating: 2085
LTD Gold - Rating: 2085LTD Gold - Rating: 2085LTD Gold - Rating: 2085LTD Gold - Rating: 2085LTD Gold - Rating: 2085
LTD Gold - Rating: 2085LTD Gold - Rating: 2085
 
Posts: 9316
Joined: Wed Oct 10, 2007 7:18 pm
Location: Belgium
Unrated

Re: puzzle 22: Beers per day

Postby chrissie1 on Fri Feb 13, 2009 8:47 pm

The calculator was wrong. It was 1.92.
pink fuzzy slippers
User avatar
chrissie1
Senior Guru
Senior Guru
LTD Gold - Rating: 2085LTD Gold - Rating: 2085LTD Gold - Rating: 2085LTD Gold - Rating: 2085LTD Gold - Rating: 2085
LTD Gold - Rating: 2085LTD Gold - Rating: 2085LTD Gold - Rating: 2085LTD Gold - Rating: 2085LTD Gold - Rating: 2085
LTD Gold - Rating: 2085LTD Gold - Rating: 2085
 
Posts: 9316
Joined: Wed Oct 10, 2007 7:18 pm
Location: Belgium
Unrated

Re: puzzle 22: Beers per day

Postby chrissie1 on Fri Feb 13, 2009 8:49 pm

traingamer wrote:Sure you can, I can spend 2000 of my 10000 gross if I want to. It's my beer. (I know lots of people that spend 10% of their gross on entertainment - they just can't figure out why their budget doesn't balance).


You can't in Belgium because you never get the money, it goes straight to the state and you don't pass start.
pink fuzzy slippers
User avatar
chrissie1
Senior Guru
Senior Guru
LTD Gold - Rating: 2085LTD Gold - Rating: 2085LTD Gold - Rating: 2085LTD Gold - Rating: 2085LTD Gold - Rating: 2085
LTD Gold - Rating: 2085LTD Gold - Rating: 2085LTD Gold - Rating: 2085LTD Gold - Rating: 2085LTD Gold - Rating: 2085
LTD Gold - Rating: 2085LTD Gold - Rating: 2085
 
Posts: 9316
Joined: Wed Oct 10, 2007 7:18 pm
Location: Belgium
Unrated

Re: puzzle 22: Beers per day

Postby traingamer on Fri Feb 13, 2009 8:50 pm

So the off by 10 times is because I calculated with 5 times the salary (later defined) and by the .96 err... 1.92 multiplier. :thumright:
Greg

People demand freedom of speech as a compensation for the freedom of thought which they seldom use. Kierkegaard
User avatar
traingamer
Senior Sage
Senior Sage
LTD Bronze - Rating: 233LTD Bronze - Rating: 233LTD Bronze - Rating: 233LTD Bronze - Rating: 233LTD Bronze - Rating: 233
 
Posts: 1482
Joined: Thu Feb 28, 2008 4:13 pm
Location: St. Louis, MO, US
Unrated

Re: puzzle 22: Beers per day

Postby chrissie1 on Fri Feb 13, 2009 8:53 pm

traingamer wrote:So the off by 10 times is because I calculated with 5 times the salary (later defined) and by the .96 err... 1.92 multiplier. :thumright:

uhmmmmmmmmmmm.
pink fuzzy slippers
User avatar
chrissie1
Senior Guru
Senior Guru
LTD Gold - Rating: 2085LTD Gold - Rating: 2085LTD Gold - Rating: 2085LTD Gold - Rating: 2085LTD Gold - Rating: 2085
LTD Gold - Rating: 2085LTD Gold - Rating: 2085LTD Gold - Rating: 2085LTD Gold - Rating: 2085LTD Gold - Rating: 2085
LTD Gold - Rating: 2085LTD Gold - Rating: 2085
 
Posts: 9316
Joined: Wed Oct 10, 2007 7:18 pm
Location: Belgium
Unrated

Re: puzzle 22: Beers per day

Postby traingamer on Fri Feb 13, 2009 8:54 pm

chrissie1 wrote:You can't in Belgium because you never get the money, it goes straight to the state and you don't pass start.


I'm trying to be funny. I get 8500 of the 10000 after taxes. I actually do have 2000 to spend (it's not actually 20% of the net, but i do have it).
Greg to wife wrote:Honey, I'm only spending 20% of my pay on beer
#-o
Last edited by traingamer on Fri Feb 13, 2009 8:56 pm, edited 1 time in total.
Greg

People demand freedom of speech as a compensation for the freedom of thought which they seldom use. Kierkegaard
User avatar
traingamer
Senior Sage
Senior Sage
LTD Bronze - Rating: 233LTD Bronze - Rating: 233LTD Bronze - Rating: 233LTD Bronze - Rating: 233LTD Bronze - Rating: 233
 
Posts: 1482
Joined: Thu Feb 28, 2008 4:13 pm
Location: St. Louis, MO, US
Unrated

Re: puzzle 22: Beers per day

Postby chrissie1 on Fri Feb 13, 2009 8:55 pm

I think the next puzzle will be eassier. Something sum 2 numbers together.
pink fuzzy slippers
User avatar
chrissie1
Senior Guru
Senior Guru
LTD Gold - Rating: 2085LTD Gold - Rating: 2085LTD Gold - Rating: 2085LTD Gold - Rating: 2085LTD Gold - Rating: 2085
LTD Gold - Rating: 2085LTD Gold - Rating: 2085LTD Gold - Rating: 2085LTD Gold - Rating: 2085LTD Gold - Rating: 2085
LTD Gold - Rating: 2085LTD Gold - Rating: 2085
 
Posts: 9316
Joined: Wed Oct 10, 2007 7:18 pm
Location: Belgium

Re: puzzle 22: Beers per day

Postby Emtucifor on Sat Feb 14, 2009 1:21 am

It's not clear enough. I can never tell you the number of beers he can buy because I don't know how much he makes. And where does 2.42 come from?
God cries a little bit every time someone builds a database.
User avatar
Emtucifor
Guru
Guru
LTD Gold - Rating: 1030LTD Gold - Rating: 1030LTD Gold - Rating: 1030LTD Gold - Rating: 1030LTD Gold - Rating: 1030
LTD Gold - Rating: 1030LTD Gold - Rating: 1030LTD Gold - Rating: 1030LTD Gold - Rating: 1030LTD Gold - Rating: 1030
LTD Gold - Rating: 1030
 
Posts: 2835
Joined: Fri May 30, 2008 9:30 pm
Location: Bellingham, WA
Unrated

Re: puzzle 22: Beers per day

Postby earthandfire on Sat Feb 14, 2009 4:56 am

Results slightly different from my first attempt:
Code is hidden, SHOW


In the code I've included far more variables than are necessary and used a lot more steps than I usually would - this should make the code relatively self documenting.

Code is hidden, SHOW


... and Chrissie, please note, I've used a Module just for you.


We all seem to have different answers - some more different than others!

Chrissie, perhaps you could provide the definitive answer ;)
earthandfire
Senior Apprentice
Senior Apprentice
LTD Bronze - Rating: 63LTD Bronze - Rating: 63
 
Posts: 103
Joined: Sun Nov 25, 2007 6:07 pm

Re: puzzle 22: Beers per day

Postby chrissie1 on Sat Feb 14, 2009 9:02 am

Emtucifor wrote:It's not clear enough. I can never tell you the number of beers he can buy because I don't know how much he makes. And where does 2.42 come from?


Yes you do. YOu had to calculate it. It's up to you to choose the number he makes or let the user choose that number it's not a fixed number it's a calculation. SO person on starts of with 10000 chrissie a year and person 2 starts of with 20000 a year. The yearly income is actually the only variable that is entered by the user. I'm pretty sure it was clear since traingamer got it ;-).
pink fuzzy slippers
User avatar
chrissie1
Senior Guru
Senior Guru
LTD Gold - Rating: 2085LTD Gold - Rating: 2085LTD Gold - Rating: 2085LTD Gold - Rating: 2085LTD Gold - Rating: 2085
LTD Gold - Rating: 2085LTD Gold - Rating: 2085LTD Gold - Rating: 2085LTD Gold - Rating: 2085LTD Gold - Rating: 2085
LTD Gold - Rating: 2085LTD Gold - Rating: 2085
 
Posts: 9316
Joined: Wed Oct 10, 2007 7:18 pm
Location: Belgium
Unrated

Re: puzzle 22: Beers per day

Postby chrissie1 on Sat Feb 14, 2009 9:03 am

Emtucifor wrote:It's not clear enough. I can never tell you the number of beers he can buy because I don't know how much he makes. And where does 2.42 come from?


the 2.42 comes from the beer costs 2 chrissie and is taxed 21%. So 1 * 1.21 makes 2.42.
pink fuzzy slippers
User avatar
chrissie1
Senior Guru
Senior Guru
LTD Gold - Rating: 2085LTD Gold - Rating: 2085LTD Gold - Rating: 2085LTD Gold - Rating: 2085LTD Gold - Rating: 2085
LTD Gold - Rating: 2085LTD Gold - Rating: 2085LTD Gold - Rating: 2085LTD Gold - Rating: 2085LTD Gold - Rating: 2085
LTD Gold - Rating: 2085LTD Gold - Rating: 2085
 
Posts: 9316
Joined: Wed Oct 10, 2007 7:18 pm
Location: Belgium
Unrated

Next