The Dark AllianceASM Knowledge, Game Hacking Info
   Home   Help Search Login Register  
Welcome, Guest. Please login or register.

Login with username, password and session length
Pages: 1 2 3 [4] 5
  Print  
Author Topic: CAN YOU SOLVE THIS MATH QUESTION? ;)  (Read 2171 times)
nog_lorp
Guest
« Reply #45 on: September 10, 2008, 01:31:43 PM »

Cuz I thought I computed it wrong. It was actually off by 1. =16777215
Logged
AdBot
flawedmatrix
Intro to ASM
**
Posts: 296



WWW
« Reply #46 on: September 10, 2008, 05:26:40 PM »

Wait, where did you get 23? I guess you were right using the summation operator though.
Logged
nog_lorp
Guest
« Reply #47 on: September 10, 2008, 07:28:53 PM »

from 0 to 23. It could also be done using from 1 to 24 and n^(i-1). 0 is required to get the 1 as first value.
Logged
flawedmatrix
Intro to ASM
**
Posts: 296



WWW
« Reply #48 on: September 10, 2008, 08:53:55 PM »

But we're talking about 28 days. o_O

27
Σ 2^i = 268435455
i=0

(2^28) - 1 = 286435455
« Last Edit: September 10, 2008, 08:58:41 PM by flawedmatrix » Logged
AdBot
flawedmatrix
Intro to ASM
**
Posts: 296



WWW
« Reply #49 on: September 10, 2008, 08:56:37 PM »

27
Σ 2^i = 268435455
i=0[/quote]

(2^28) - 1 = 286435455
Logged
SBSP
Guest
« Reply #50 on: September 11, 2008, 03:14:15 AM »

My answer is too 268435455 (in penny)

I am just using a Mathematic formula, Geometric Series to solve this question. I learned that during my Computer Math lessons -.-

http://www.jimloy.com/algebra/gseries.htm
http://en.wikipedia.org/wiki/Geometric_series

We are using the formula S=a(1-r^n)/(1-r) as the value is infinite because r = 2 in this case (r = 2 because the value is double everytime, meaning common ratio r = 2) and a is refer to the 1st term of the series. Since your series goes like 1,2,4,8... which is a G.P (Geometric Progression)

Using sum of Geometric series will solve this,

a = 1
n = 28 (number of terms = number of days in this case)
r = 2 (because the value keep x2 after each term)

Therefore S, which is the sum of geometric series is

S = [1(1-2^28)]/(1-2)

which is

S = -268435455 / -1
   = 268435455

Hope that will solve your Mathematics problem. I don't use any excel nor written program to do this, just some simple mathematics formula :)

For further studies, you can read up on Arithmetic Series too, there's a formula for that too, Arithmetic series is for those additional cases, Arithmetic Progression (A.P), not multiplication case but for this case it's Multiplication case since the value get double up.
Logged
SXGuy
Master Assembler
*****
Posts: 1798



« Reply #51 on: September 11, 2008, 03:36:39 AM »

Im starting to love this thread, its interesting seing all the different ways you can produce the same outcome.
Logged

TheLeecher: "I wasn't sure if the OP was talking about the Big Bang theory or the Bing Bang theory. I once believed in the Gang Bang theory but that was long ago."
TheNewGuy
Administrator
Super Assembler
*****
Posts: 1430


« Reply #52 on: September 11, 2008, 09:07:16 AM »

Quote from: "SBSP"
S = [1(1-2^28)]/(1-2)
I already said that LONG ago
if you make it shorter and take out the redundant you get:
S = 1-2^28
Which is EXACTLY what I said on the first page.
Why did this thread need 4 pages of proving me right and sx wrong?
poor sx,,, stop picking on his math fail!
Quote from: "SXGuy"
Im starting to love this thread, its interesting seing all the different ways you can produce the same outcome.
what would you know?!?
You failed at your own question
boo2u
Logged
SXGuy
Master Assembler
*****
Posts: 1798



« Reply #53 on: September 11, 2008, 10:32:26 AM »

Yes but now i have ten zillion ways of getting it right next time :P
Logged

TheLeecher: "I wasn't sure if the OP was talking about the Big Bang theory or the Bing Bang theory. I once believed in the Gang Bang theory but that was long ago."
TheNewGuy
Administrator
Super Assembler
*****
Posts: 1430


« Reply #54 on: September 11, 2008, 11:07:40 AM »

Quote from: "SXGuy"
Yes but now i have ten zillion ways of getting it right next time :evil:
Logged
SXGuy
Master Assembler
*****
Posts: 1798



« Reply #55 on: September 11, 2008, 12:10:44 PM »

hahaha
Logged

TheLeecher: "I wasn't sure if the OP was talking about the Big Bang theory or the Bing Bang theory. I once believed in the Gang Bang theory but that was long ago."
flawedmatrix
Intro to ASM
**
Posts: 296



WWW
« Reply #56 on: September 11, 2008, 07:05:12 PM »

Lmao, so many different ways to represent the same thing.

Basically all of the correct solutions involved something like this:

1 + 2 + 4 + 8 + 16 + 32 + 64 ...

Except for 2^28 - 1

And you're supposed to get 268435455 pennies.
Logged
linosal
Administrator
Master Assembler
*****
Posts: 2068



WWW
« Reply #57 on: September 14, 2008, 12:00:08 AM »

omg this still is going on??? lol
Logged

--
flawedmatrix
Intro to ASM
**
Posts: 296



WWW
« Reply #58 on: September 14, 2008, 12:36:00 AM »

Well I hoped it would end when I posted. Lol.
Logged
Legend
Guest
« Reply #59 on: September 14, 2008, 11:38:50 AM »

Yeah, good job bumping this up.

Real answer to this: 42.

42 = The answer to life, the universe, and everything.
Logged
Pages: 1 2 3 [4] 5
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.11 | SMF © 2006-2009, Simple Machines LLC
DB Theme: deruni
Valid XHTML 1.0! Valid CSS!