Become a part of the TranceAddict community!Frequently Asked Questions - Please read this if you haven'tSearch the forums
TranceAddict Forums > Main Forums > Chill Out Room > Math Problem
Pages (2): [1] 2 »   Last Thread   Next Thread
Share
Author
Thread    Post A Reply
creon444
Supreme tranceaddict



Registered: Sep 2003
Location: Lorz's moustache
Hello! Math Problem

Can anyone of you help me out with this problem. I've
been trying to solve it for ages and still don't
know where to even start. It seems nearly impossible to
solve. So I'm asking if there are any smart people here
that are willing to help? ANY hints/ideas would be
greatly appreciated!

Suppose you need to buy some blue and red pens. The
store you go to sells red pens for 17 cents apiece and
blue pens for 13 cents apiece. You only have $4.95 to
spend. You need to buy as many pens as possible, but
you also want to buy as few red pens as possible.
Given that the difference between the number of blue
pens and the number of red pens cannot be more than 5,
how many blue and red pens can you buy in total?

Old Post Sep-15-2003 15:26  Tuvalu
Click Here to See the Profile for creon444 Click here to Send creon444 a Private Message Add creon444 to your buddy list Report this Post Reply w/Quote Edit/Delete Message
You aint Ninja
Supreme tranceaddict



Registered: Sep 2003
Location:

One million.

Old Post Sep-15-2003 15:27  United States
Click Here to See the Profile for You aint Ninja Click here to Send You aint Ninja a Private Message Add You aint Ninja to your buddy list Report this Post Reply w/Quote Edit/Delete Message
You aint Ninja
Supreme tranceaddict



Registered: Sep 2003
Location:

-edit-

double post

Old Post Sep-15-2003 15:27  United States
Click Here to See the Profile for You aint Ninja Click here to Send You aint Ninja a Private Message Add You aint Ninja to your buddy list Report this Post Reply w/Quote Edit/Delete Message
butterfly
melissa



Registered: Apr 2002
Location: West CoCo, CA

i can give you the answer buit then you wouldnt be doing your homework.

they gave you enough information to solve a 2 variable system of algebraic equations.

you know that however many you buy, this will be true:

(.17)R + (.13)B < 4.95

you also know that the difference wont be more than 5 AND you will have more blue than red, so:
B-R < 5

so solve this system of equations.

edit: i fucked up the first time cause i cant read but i fixed it.

Old Post Sep-15-2003 15:32  United States
Click Here to See the Profile for butterfly Click here to Send butterfly a Private Message Add butterfly to your buddy list Report this Post Reply w/Quote Edit/Delete Message
creon444
Supreme tranceaddict



Registered: Sep 2003
Location: Lorz's moustache
Dunno

quote:
Originally posted by butterfly
i can give you the answer buit then you wouldnt be doing your homework.

they gave you enough information to solve a 2 variable system of algebraic equations.

you know that however many you buy, this will be true:

(.17)R + (.13)B < 4.95

you also know that the difference wont be more than 5 AND you will have more blue than red, so:
B-R < 5

so solve this system of equations.

edit: i fucked up the first time cause i cant read but i fixed it.


But what about that thing where they say you need to buy as few red pens as possible. Besides, those are not equations, but inequalities. I know how to solve a system of equations, but this is not the case!
Thanks anyway

Old Post Sep-15-2003 15:38  Tuvalu
Click Here to See the Profile for creon444 Click here to Send creon444 a Private Message Add creon444 to your buddy list Report this Post Reply w/Quote Edit/Delete Message
butterfly
melissa



Registered: Apr 2002
Location: West CoCo, CA

quote:
Originally posted by creon444
But what about that thing where they say you need to buy as few red pens as possible. Besides, those are not equations, but inequalities. I know how to solve a system of equations, but this is not the case!
Thanks anyway


you used that information. they told you both that you want fewere red pens but that the difference cant be more than 5. so that is how you got the equation B-R < 5


anyway, you solve it just like the inequalities are equal signs. the only time you worry about it is if you are multiplying by a negative.

so this is how it solves:

.17R + .13(5+R) < 4.95
.17R + (.13)(5) +.14R < 4.95
.3R < 4.95-(.13)(5)
r < 14.3
b < 5+14.3
so you know you cant have a partial pen, so R must be 14, which makes b 19.
when you go back and check, you see that your total money spent is $4.85, which doesnt leave you any money to buy any more pens.

(and check these numbers. i always fuck up my calcuations but the logic here is right.)

Old Post Sep-15-2003 15:43  United States
Click Here to See the Profile for butterfly Click here to Send butterfly a Private Message Add butterfly to your buddy list Report this Post Reply w/Quote Edit/Delete Message
kaige
tranceaddict in training



Registered: Sep 2002
Location: California, US

14 red pens @ 17 cents = $2.38
19 blue pens @ 13 cents = $2.47

33 pens @ $4.85

Old Post Sep-15-2003 15:50  United States
Click Here to See the Profile for kaige Click here to Send kaige a Private Message Add kaige to your buddy list Report this Post Reply w/Quote Edit/Delete Message
kaige
tranceaddict in training



Registered: Sep 2002
Location: California, US

Umm...damn

Old Post Sep-15-2003 15:51  United States
Click Here to See the Profile for kaige Click here to Send kaige a Private Message Add kaige to your buddy list Report this Post Reply w/Quote Edit/Delete Message
Fundamental
Still Alive in '25



Registered: Apr 2001
Location: Scotland

quote:
Originally posted by butterfly
so you know you cant have a partial pen, so R must be 14, which makes b 19.
when you go back and check, you see that your total money spent is $4.85, which doesnt leave you any money to buy any more pens.

(and check these numbers. i always fuck up my calcuations but the logic here is right.)


Moral of the story is...

YOU CANNOT HAVE RED PEN15!!


___________________

"I expect to pass through life but once. If therefore, there be any kindness I can show, or any good thing I can do to any fellow being, let me do it now, and not defer or neglect it, as I shall not pass this way again."

Old Post Sep-15-2003 15:56  Scotland
Click Here to See the Profile for Fundamental Click here to Send Fundamental a Private Message Add Fundamental to your buddy list Report this Post Reply w/Quote Edit/Delete Message
You aint Ninja
Supreme tranceaddict



Registered: Sep 2003
Location:

join the pen15 club.

Old Post Sep-15-2003 15:57  United States
Click Here to See the Profile for You aint Ninja Click here to Send You aint Ninja a Private Message Add You aint Ninja to your buddy list Report this Post Reply w/Quote Edit/Delete Message
Noisician
Harsh electronic purity



Registered: Aug 2001
Location:

quote:
Originally posted by butterfly
i can give you the answer buit then you wouldnt be doing your homework.

they gave you enough information to solve a 2 variable system of algebraic equations.

you know that however many you buy, this will be true:

(.17)R + (.13)B < 4.95

you also know that the difference wont be more than 5 AND you will have more blue than red, so:
B-R < 5

so solve this system of equations.

edit: i fucked up the first time cause i cant read but i fixed it.


that is too easy a solution u've got there. give the man something he can show off with

dude, if u want to get an A++ in ur class, show them sometingh like this. this is how to solve the problem using 3(!) variables.

let x be the number of red pens you can buy and y the number of blue pens. then, given that u can only spend $4.95=495 cents, we have

17x+13y≤495

x≥0, y≥0

since the difference of the number of both kinds of pens cannot exceed 5, we have

|x-y|≤5

we need to find the biggest value that x+y=z can take

so what we have here is a nice mixed system with 3 variables

17x + 13y≤495
|x-y|≤5
x+y=z
0≤x≤z
0≤y≤z

applying a few substitutions for y (y=z-x), we get

4x+13z≤495
|2x-z|≤5

which is the same as

x≤(495-13z)/4
(z-5)/2≤x≤(z+5)/2

considering that 0≤x≤z, we can rewrite the above system as

z≥0
(z+5)/2≥0
0≤(495-13z)/4 <=> 495-13z≥0 <=> z≤495/13
(z-5)/2≤(495-13z)/4 <=> 2(z-5)≤(495-13z) <=> 15z≤505 <=> z≤505/15

or as

0≤z
-5≤z
z≤495/13
z≤505/15

or as 0≤z≤505/15=101/3=33+2/3

which means the greatest integer z can be is 33

so we need to find the smallest x possible when z=33. using 33 for z, we get another system with only one variable

x≤16.5
14≤x≤19
0≤x≤33

the smallest solution of which is 14.

same answer


___________________

Last edited by Noisician on Sep-15-2003 at 19:32

Old Post Sep-15-2003 19:25 
Click Here to See the Profile for Noisician Click here to Send Noisician a Private Message Visit Noisician's homepage! Add Noisician to your buddy list Report this Post Reply w/Quote Edit/Delete Message
whiskers
old skool



Registered: Sep 2001
Location: in your dreams

^^^^^^^^^^^^^^^^^^^^^^^
that is weak


use linear algebra and double integrals and write a 20-pages detailed solution.


that'll surely make your teacher give you an A+ and she'll treat you like her own child for the rest of the year


___________________

Old Post Sep-15-2003 19:30  Ukraine
Click Here to See the Profile for whiskers Click here to Send whiskers a Private Message Add whiskers to your buddy list Report this Post Reply w/Quote Edit/Delete Message

TranceAddict Forums > Main Forums > Chill Out Room > Math Problem
Post New Thread    Post A Reply

Pages (2): [1] 2 »  
Last Thread   Next Thread
Click here to listen to the sample!Pause playbackPrimal Scream - Exterminator [2007] [1]

Click here to listen to the sample!Pause playbackLore J - Bellariva [2006]

Show Printable Version | Subscribe to this Thread
Forum Jump:

All times are GMT. The time now is 18:37.

Forum Rules:
You may not post new threads
You may not post replies
You may not edit your posts
HTML code is ON
vB code is ON
[IMG] code is ON
 
Search this Thread:

 
Contact Us - return to tranceaddict

Powered by: Trance Music & vBulletin Forums
Copyright ©2000-2026, Jelsoft Enterprises Ltd.
Privacy Statement / DMCA
Support TA!