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
butterfly
melissa



Registered: Apr 2002
Location: West CoCo, CA

quote:
Originally posted by Acid Junkie
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
x≤33

the smallest solution of which is 14.

same answer


having a third variable is redundant.

Old Post Sep-15-2003 19:31  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
Noisician
Harsh electronic purity



Registered: Aug 2001
Location:

quote:
Originally posted by butterfly
having a third variable is redundant.


but it's fun


___________________

Old Post Sep-15-2003 19:35 
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
butterfly
melissa



Registered: Apr 2002
Location: West CoCo, CA

quote:
Originally posted by Acid Junkie
but it's fun


yeah but it'll get your math teacher irritated by wasting their time instead of impressed.

Old Post Sep-15-2003 19:47  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
Chris Crossland
Duke Silver



Registered: Jul 2003
Location: London

When i try and do math i can do it to a degree then i start to get a headache and have to stop thinking for a while


___________________
Figure out what to do, then take a nap.

Old Post Sep-15-2003 19:57 
Click Here to See the Profile for Chris Crossland Click here to Send Chris Crossland a Private Message Add Chris Crossland to your buddy list Report this Post Reply w/Quote Edit/Delete Message
ExOn
Still around



Registered: Jan 2002
Location:

I fear the day i will have to go back to school to finish my math course!


___________________

One of the few ones left

Old Post Sep-15-2003 20:02  Sweden
Click Here to See the Profile for ExOn Click here to Send ExOn a Private Message Add ExOn 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
yeah but it'll get your math teacher irritated by wasting their time instead of impressed.


i know that... my entire post was just a joke ffs. the guy obviously sucks at math


___________________

Old Post Sep-15-2003 20:45 
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
creon444
Supreme tranceaddict



Registered: Sep 2003
Location: Lorz's moustache

Thanks guys!
And Acid Junkie, your signature is freaking scary.

Old Post Sep-16-2003 16:32  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

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 playbackHelp Ids This Tune please [2003] [4]

Click here to listen to the sample!Pause playbackFreestyle Allstars - Drive Me Crazy (feat. Elucid) [2005]

Show Printable Version | Subscribe to this Thread
Forum Jump:

All times are GMT. The time now is 22:23.

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!