# How to solve this "math" problem

Discussion in 'BlackHat Lounge' started by kakizito, Nov 3, 2012.

1. ### kakizitoRegular Member

Joined:
Jun 17, 2009
Messages:
212
36
Hello everyone, I have a "math" problem to solve that I found a little tricky, so I will try to explain so I can draw some conclusions.

Me and a co-worker have to split \$1.5k from a job that took 250 hours to do for example. If I worked 125 hours and he 125 hours we would split \$750-\$750 easy right?

Hou about if I worked more 30 hours than him? How would you split this? Price of hour would be \$6.

2. ### oskedi01Regular Member

Joined:
Oct 6, 2011
Messages:
200
72
Location:
Sweden
Hmm, maybe just, split \$1500 / X hours worked, then you do like \$6 X the hours worked, for each of you, or something? I'm not a math genius myself..

3. ### AlphabetJunior Member

Joined:
Dec 25, 2011
Messages:
146
77
nvm i suck at math.

Last edited: Nov 3, 2012
4. ### bumpywowusJunior Member

Joined:
Nov 23, 2011
Messages:
125
29
Location:
Where da cash at
X = hours he worked
x + 30 = hours you worked

x + x +30 = 250
2x = 220
x = 110
x+ 30 = 140.

If it's 6 dollars an hour, then
x = 660
x + 30 = 840

So you get 840, he gets 660

• Thanks x 2
5. ### 2011nflSupreme Member

Joined:
Aug 9, 2010
Messages:
1,223
5,960
Location:
Dallas, Texas
You worked 140 hours, and he worked 110 hours. At \$6 per hour you would get \$840 and he would get \$660

I got it like this. You said you worked 30 hours more than him

Split the 30 hours in two = 15 hours
125 + 15 = 140
125 - 15 = 110
140 + 110 = 250

140 x 6 = \$840
110 x 6 = \$660

Last edited: Nov 3, 2012
6. ### StrygwyrJunior Member

Joined:
Apr 23, 2010
Messages:
155
1,464
Location:
Another way to do it is:

30x6 = 180
1500 - 180 = 1320
1320/2 = 660
He gets 660
You get 660 + 180 = 840

That's if you don't like letters in your math. Haha.

7. ### cgimasterPower Member

Joined:
Jun 30, 2012
Messages:
525
311
Gender:
Male
follow his math posted above >> bumpywowus

Last edited: Nov 3, 2012
8. ### oskedi01Regular Member

Joined:
Oct 6, 2011
Messages:
200
72
Location:
Sweden
Seems like there are some math genius here after all lol

9. ### GeorgeyBoyNewbie

Joined:
Nov 3, 2012
Messages:
3
1
1500
You worked 140, he worked 110
1500/250*140=840 (yours)
1500/250*110=660(his)

10. ### 2011nflSupreme Member

Joined:
Aug 9, 2010
Messages:
1,223
5,960
Location:
Dallas, Texas
your calculation actually insinuates that he worked 60 hours more than his partner. you have to divide the 30 hours in half

He didnt work 30 hours more than 125, he worked 30 hours more than his partner. He worked 140 hours, and his partner worked 110 hours

11. ### cgimasterPower Member

Joined:
Jun 30, 2012
Messages:
525
311
Gender:
Male
Yeah dont bother me have edited after reading bumpywowus formula.

12. ### sdilanRegular Member

Joined:
Aug 3, 2012
Messages:
288
99
Occupation:
theres nothing worst then regret
Location:
In My office ( My Room)
50 / 50 and HE OWES YOU LUNCH

13. ### kakizitoRegular Member

Joined:
Jun 17, 2009
Messages:
212
36

My first assumption was \$750 + \$180 (\$30x6hours) = \$930 for me, and \$750 -\$180 = \$570 for him.

I found this a bit tricky, because let's say if I have \$750 base and he owes me 30 hours (\$180) will be 750 plus 180, and those \$180 will be subtracted from his \$750 base.

Tricky one no?

14. ### dudemikePower Member

Joined:
Jan 20, 2009
Messages:
555
94
this post is funny

15. ### ja1mynSenior Member

Joined:
Feb 3, 2012
Messages:
815
305
How many BHW members does it take to solve a math problem...

• Thanks x 1

Joined:
May 4, 2010
Messages:
1,271
712
Location:
USA
Let x be the number of hours your coworker worked.
x+30 is therefore the number of hours you worked.
x+x+30 = 250
2x+30 = 250
2x = 220
x = 110
Therefore your coworker worked 110 hours and gets \$660, and you get the remainder of \$840.

17. ### hellohellosharpPower Member

Joined:
Dec 8, 2010
Messages:
625
552
Occupation:
CEO @ CLEANFILES LLC
Location:
USA
Here is a more generic solution that could be applied to multiple situations.

Your payment = ((Total Number Of Hours/2) + (Your Additional Hours/2) / Total Number Of Hours) * Total Payment

Which can be simplified to:

Your payment = Total Payment * (Total Number Of Hours+Your Additional Hours) / Total Number Of Hours * 2

So in this case

Your payment = \$1500 * 280 / 500 = \$840

18. ### hellohellosharpPower Member

Joined:
Dec 8, 2010
Messages:
625
552
Occupation:
CEO @ CLEANFILES LLC
Location:
USA
Don't use \$750 as a base, because you said:

I worked 30 hours more than him.

You did NOT say:

I worked 30 more hours than half the total hours.

If you worked 30 hours more than him, that means you worked 140 hours and he worked 110. 140 * 6 = \$840, it's that simple.

19. ### HatIsBlackRegular Member

Joined:
Sep 17, 2010
Messages:
265
187
Location:
Where i belong
Simple!
\$Amount / total hours = \$X

\$X * yourhours = \$youramount
\$X * hishours = \$hisamount

20. ### Cas87Regular Member

Joined:
Mar 5, 2012
Messages:
286
131
Location:
England
Never mind complicating this with algebra!

Just divide the amount of money in total by the mount of hours... then pay each of you the hours you both worked...

\$1500 / 250 is \$6 per hour..

You worked 140 so 140 x 6 = 840

He worked 110 so 110 x 6 = 660

An easy way to do this with any number is this..

WAGE / HOURS = PER HOUR

PER HOUR * HOURS WORKED = WAGE

Then, if you don't know the total hours you both did but you know that you did a certain amount more than him...

TOTAL HOURS / 2 = a

EXTRA HOURS YOU WORKED / 2 = b

a + b = your hours

a - b = his hours

Obviously, if you worked less, you would be a - b