Author Topic: Omnimath Challenge  (Read 12232 times)

0 Members and 1 Guest are viewing this topic.

Offline Munchor

  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 6199
  • Rating: +295/-121
  • Code Recycler
    • View Profile
Omnimath Challenge
« on: December 26, 2010, 02:14:34 am »
 :evillaugh:

DJ Omnimaga:

21114 (24.753 per day)

2071 (29.600 per day)

Today is 26th of December

If both DJ and I keep at this rythm and there is no other influence in post numbers, what precise day will I have more posts than him??


I haven't solved it yet, good luck!

Offline DJ Omnimaga

  • Former TI programmer
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55876
  • Rating: +3151/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • DJ Omnimaga Music
Re: Omnimath Challenge
« Reply #1 on: December 26, 2010, 02:19:15 am »
We should maybe do it based on 2010 daily post rate but that would require database operations and stuff. I'm sure my average for 2010 is in the 50s :P

Offline Munchor

  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 6199
  • Rating: +295/-121
  • Code Recycler
    • View Profile
Re: Omnimath Challenge
« Reply #2 on: December 26, 2010, 08:27:43 am »
We should maybe do it based on 2010 daily post rate but that would require database operations and stuff. I'm sure my average for 2010 is in the 50s :P

What matters is the exercise, not the content. I have started solving it and think I have an answer!!

Offline apcalc

  • The Game
  • CoT Emeritus
  • LV10 31337 u53r (Next: 2000)
  • *
  • Posts: 1393
  • Rating: +120/-2
  • VGhlIEdhbWUh (Base 64 :))
    • View Profile
Re: Omnimath Challenge
« Reply #3 on: December 26, 2010, 09:04:59 am »
Exactly 3928.82 days. :P

On September 27, 2021!

Let sp=Scout's Total Posts
Let dp=DJ's Total Posts
Let d=total number of days (starting at day 0, right now)

sp=24.753*d +21114
dp=29.600*d + 2071

Find value for d where sp=dp, therefore:

24.753*d +21114 = 29.600*d + 2071
19043 = 4.847*d
d=3928.82
« Last Edit: December 26, 2010, 09:08:27 am by apcalc »


Offline Munchor

  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 6199
  • Rating: +295/-121
  • Code Recycler
    • View Profile
Re: Omnimath Challenge
« Reply #4 on: December 26, 2010, 09:20:07 am »
New Problem:

If graphmastur has 10 000 peanuts and each one costs 22 cents, how long would it take for him to make 1000 dollars if he sells 666 peanuts per day, and only works 2 days per week? Start a 1 January (it is a Sunday, and Sunday is the 1st day of the week).

Concerning the first challenge... I got to the number of days, but how'd you get the date?
« Last Edit: December 26, 2010, 09:22:30 am by ScoutDavid »

Offline apcalc

  • The Game
  • CoT Emeritus
  • LV10 31337 u53r (Next: 2000)
  • *
  • Posts: 1393
  • Rating: +120/-2
  • VGhlIEdhbWUh (Base 64 :))
    • View Profile
Re: Omnimath Challenge
« Reply #5 on: December 26, 2010, 02:53:41 pm »
New Problem:

If graphmastur has 10 000 peanuts and each one costs 22 cents, how long would it take for him to make 1000 dollars if he sells 666 peanuts per day, and only works 2 days per week? Start a 1 January (it is a Sunday, and Sunday is the 1st day of the week).

Concerning the first challenge... I got to the number of days, but how'd you get the date?

I got the date by using an online date calculator. :P

Second Challenge:

First, I am going to assume that the two days that graphmastur works each week are Sunday and Monday.

(666 peanuts/day)*(2day/week)*(0.22 dollars/peanut)=293.04 dollars/week

(1000 dollars)/(293.04dollars/week)=3.41250... weeks

Three weeks + a bit less than half a week=6 days+1day=7 work days

Starting from January 1st, we go through three weeks entirely.  Then, the first day of the fourth week he works, he will cross 1000.  Assuming this day is a Sunday, it will be January 22.

Offline Munchor

  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 6199
  • Rating: +295/-121
  • Code Recycler
    • View Profile
Re: Omnimath Challenge
« Reply #6 on: December 26, 2010, 03:19:25 pm »
100 000 cents is 1000 dollars

666*2*x*22 = 100 000
29304x = 100 000
x = 3.41

x = weeks
weeks = 3.41

3 weeks and almost 1 day (0.82 of a day) to make 1000 dollars.
So, it would be January the 22nd!

I got there too apcalc, this one was easier than the other ??? I'm not very good at creating problems. Anyone want to post a harder challenge?

Offline DJ Omnimaga

  • Former TI programmer
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55876
  • Rating: +3151/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • DJ Omnimaga Music
Re: Omnimath Challenge
« Reply #7 on: December 26, 2010, 03:23:05 pm »
Exactly 3928.82 days. :P

On September 27, 2021!

Let sp=Scout's Total Posts
Let dp=DJ's Total Posts
Let d=total number of days (starting at day 0, right now)

sp=24.753*d +21114
dp=29.600*d + 2071

Find value for d where sp=dp, therefore:

24.753*d +21114 = 29.600*d + 2071
19043 = 4.847*d
d=3928.82
Woah I expected something like 4-5 years O.O

Ashbad

  • Guest
Re: Omnimath Challenge
« Reply #8 on: December 26, 2010, 03:27:39 pm »
I expected like 5 days... :)

Offline jnesselr

  • King Graphmastur
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2270
  • Rating: +81/-20
  • TAO == epic
    • View Profile
Re: Omnimath Challenge
« Reply #9 on: December 26, 2010, 05:00:19 pm »
Yeah, I make $146.52 a day (In the problem, that is). I love being included in these.

They are all simple algebra problems. I'll have to come up with something a lot harder later.
« Last Edit: December 26, 2010, 05:45:24 pm by graphmastur »

Offline Munchor

  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 6199
  • Rating: +295/-121
  • Code Recycler
    • View Profile
Re: Omnimath Challenge
« Reply #10 on: December 26, 2010, 08:54:52 pm »
Ashbad got a new link cable which costed him 50$, since Texas is evil.

He got it today. Today he uploads 34 games. Tomorow 33, the day after 32 and minus 1 every day until the day he uploads 0.

If he makes 0.20$ per each game he makes, when will he have made profit (>50$)?

Offline nemo

  • LV9 Veteran (Next: 1337)
  • *********
  • Posts: 1203
  • Rating: +95/-11
    • View Profile
Re: Omnimath Challenge
« Reply #11 on: December 26, 2010, 08:59:25 pm »
jan 3rd


Ashbad

  • Guest
Re: Omnimath Challenge
« Reply #12 on: December 26, 2010, 09:02:35 pm »
Lol never

Eh if only people liked my games then I could get money... :(

Offline Munchor

  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 6199
  • Rating: +295/-121
  • Code Recycler
    • View Profile
Re: Omnimath Challenge
« Reply #13 on: December 26, 2010, 09:03:44 pm »

Offline nemo

  • LV9 Veteran (Next: 1337)
  • *********
  • Posts: 1203
  • Rating: +95/-11
    • View Profile
Re: Omnimath Challenge
« Reply #14 on: December 26, 2010, 09:07:46 pm »
jan 3rd

Why?

Code: [Select]
public class Solve{
public static void main(String[] args){
double sum = 0;
int i = 34;
for(; sum < 50; i--)
sum += i * .2;
System.out.println(Math.abs(i-34) + " days, including today");
}
}
Calendar