[personal profile] bertine
my coworker (the fc) gave us this puzzle. i think i amazed everyone by solving it so fast. i think people forget that under this girly facade is someone that did get a degree in math and let's not forget that letter in math team.


you have $100 and you need to buy exactly 100 chickens. hens cost $1, roosters cost $5 and chicks cost $.05. You must use up all your money. (oops, i forgot this) You must buy at least one of each type. how many of each do you end up with?

also, someone come to quangs with me, i am craving an S5 so much right now.

Date: 2005-03-14 06:40 pm (UTC)
From: [identity profile] steeltoe.livejournal.com
Buy 100 hens?

Date: 2005-03-14 06:46 pm (UTC)
From: [identity profile] bertine.livejournal.com
dammit, i forgot a rule.

you have to buy at least one of each.

Date: 2005-03-14 06:53 pm (UTC)
From: [identity profile] jayp39.livejournal.com
2 roosters $10
20 chicks $1
89 hens $89

aren't there quite a few solutions to this? were we supposed to find the number that would give us the most chickens altogether or something?

Date: 2005-03-14 06:53 pm (UTC)
From: [identity profile] jayp39.livejournal.com
d'oh, missed the part about needing to buy exactly 100 chickens...

Date: 2005-03-14 06:55 pm (UTC)
From: [identity profile] bertine.livejournal.com
i was just going to tell you that. LOL

:)

Date: 2005-03-14 10:47 pm (UTC)
From: [identity profile] jayp39.livejournal.com
Finally have a break from work.
Maybe I'm going down the wrong path.
Is this impossible?

If we look at it like this:
COST -- NUMBER WE GET
i.e.
$01 -c- 20
$02 -r- 10
$30 -h- 30

Then we want both sides to equal 100. Since C(h) = N(h), we don't really have to worry about that part, as long as we keep N(c) + N(r) < 100 AND C(c) + C(r) < 100. We need to find a point where C(c) = N(r) and C(r) = N(c)
The smallest N(c) we can have is 20, since we are spending a whole dollar amount and none of the other animals are less than $1, and C(20c) = $1

With N(c) = 20, we need C(r) = 20, so N(r) = 4, but C(c) = 1, so N(r) != C(c).

N(c) = 40, C(r) = 40, N(r) = 8, C(c) = 2

N(c) = 60, C(r) = 60, N(r) = 12, C(c) = 3

So you can see for every for every 20 unit increase in N(c), C(r), there's a 1 unit increase in C(c) and there is a 4 unit increase in N(r), so N(r) will never equal C(c) while N(c) = C(r)

Am I missing something?

Date: 2005-03-14 11:20 pm (UTC)
From: [identity profile] jayp39.livejournal.com
nevermind, my assumption was wrong. N(c) + N(r) = C(c) + C(r).

Date: 2005-03-15 05:13 pm (UTC)
From: [identity profile] bertine.livejournal.com
and i think you right. it has been a while though

Date: 2005-03-15 05:12 pm (UTC)
From: [identity profile] bertine.livejournal.com
nerd. :P

Date: 2005-03-14 07:19 pm (UTC)
From: [identity profile] f-o-n-y.livejournal.com
dude, you got a letter in math team. don't tell boys that.

Date: 2005-03-14 07:20 pm (UTC)
From: [identity profile] bertine.livejournal.com
actually, most boys, at least the kind i like, really seem to like that.

at least until the realize that means i know math better than them.

Date: 2005-03-14 07:22 pm (UTC)
From: [identity profile] f-o-n-y.livejournal.com
'hey, baby, wanna come back to my place and prove theorems?' (cue porn soundtrack)

Date: 2005-03-14 07:27 pm (UTC)
From: [identity profile] bertine.livejournal.com
oh, i am TOTALLY using that line again.

it is almost as good as the "i have a greatview of downtown from my bedroom"

Date: 2005-03-14 07:29 pm (UTC)
From: [identity profile] f-o-n-y.livejournal.com
you said that? hahaha. wait, you have a great view of downtown from your bedroom? hmm.

Date: 2005-03-14 07:31 pm (UTC)
From: [identity profile] bertine.livejournal.com
i said that once. that and used the little picture above my bed. LOL.

i did have a greatview of downtown before abbot expanded. now a have a great view of abbot.

i am hoping the sears tower looks good when it is done

Date: 2005-03-14 07:32 pm (UTC)
From: [identity profile] bertine.livejournal.com
and why am i typing it "greatview"? weird.

Date: 2005-03-14 07:39 pm (UTC)
From: [identity profile] f-o-n-y.livejournal.com
i'd be all, 'i have a great view of that chick-who-doesn't-know-how-to-clean-her-apartment's apartment. awwwwwyeah.'

also, the sears tower is in chicago, not phillips.

Date: 2005-03-14 08:27 pm (UTC)
From: [identity profile] bertine.livejournal.com
i meant the sears building and that isn't phillips, it is powderhorn. :P

everything ON lake street is powderhorn. i think. LOL.

see how your line doesn't work as well? it is a good thing you won't have to use it.

anyways, the "great view of downtown" worked when i was the-chick-that-hasn't-cleaned-her-apartment-and-you-have-to-crawl-over-a-pile-of-clothes-to-see-it-so-you-might-as-well-stay.

Date: 2005-03-14 10:49 pm (UTC)
From: [identity profile] greatestofnates.livejournal.com
1,19,80 I think. I brute forced it since there are only a few chick combos that would work. Is there an elegant formula to figure it out for other cases?

You have $100 and need to buy exactly 20 items of food. S5s cost $7, shrimp yam balls cost $4, bubble tea is $4.50, and taro pops are $1.

Date: 2005-03-15 05:14 pm (UTC)
From: [identity profile] bertine.livejournal.com
i also just pluged in numbers but i think jay, (above) might have gotten close to the right formula for this.

Date: 2005-03-16 05:41 pm (UTC)
From: [identity profile] lowa.livejournal.com
i hate questions like that. it makes my head hurt, my feet swell, and my hair to fall out and before you know it, i'm a big hot mess.

Date: 2005-03-16 05:48 pm (UTC)
From: [identity profile] lowa.livejournal.com
i laughed out loud when i typed that. i love it when that happens, people just look at me funny.

aww my co-worker asked me to share her sandwich with her, i turned her down cuz i'm going to eat lunch with my dad soon. ehh, it probably had meat on it anyway.

Date: 2005-03-16 05:54 pm (UTC)
From: [identity profile] bertine.livejournal.com
i am eating some ramen for lunch. i get paid tomorrow, yay. sometimes i hate that i have a food budget. :\

Date: 2005-03-16 07:59 pm (UTC)
From: [identity profile] lowa.livejournal.com
i should bring my lunch more often to work, i go home alot on my lunch breaks. i should ride a bike to school. these gas prices are flipping horrible.

Date: 2005-03-16 09:06 pm (UTC)
From: [identity profile] bertine.livejournal.com
i bring my lunch maybe 3 days a week. i wish i could go home for lunch. :\

yeah, i have to drive to work and it is so expensive.

Date: 2005-03-16 09:45 pm (UTC)
From: [identity profile] lowa.livejournal.com
i bought gas for 2.07 yesterday, what is it up there?

Date: 2005-03-16 09:49 pm (UTC)
From: [identity profile] bertine.livejournal.com
right about there, i can find it cheaper out here in the burbs where i work but it is like 2.10 in the city.

April 2017

S M T W T F S
      1
2345678
9101112131415
16171819202122
232425 26272829
30      

Most Popular Tags

Style Credit

Expand Cut Tags

No cut tags
Page generated Jan. 16th, 2026 03:32 am
Powered by Dreamwidth Studios