English Deutsch Français Italiano Español Português 繁體中文 Bahasa Indonesia Tiếng Việt ภาษาไทย
All categories

How do I solve this problem:
In a fable, a poor man received a reward of 2 grains of rice of rice on one day. On the second day, he received 2 to the 2nd power grains of rice. On the third day, he received 2 to the 3rd power. What is the total amount by 10 days??

Is there a faster formula I can use other than add each day's up??

2007-09-26 14:42:02 · 5 answers · asked by rocksterenergy53 3 in Science & Mathematics Mathematics

Thank u Tom K, but what if the unit changes to 3 and above??

2007-09-26 14:57:15 · update #1

5 answers

At the end of n days, he will have received 2^(n+1)-2 grains.

2007-09-26 14:51:14 · answer #1 · answered by Tom K 6 · 0 0

= Σ(2, 2^2, 2^3, 2^4, 2^5, 2^6, 2^7, 2^8, 2^9,2^10)
= Σ(2, 4, 8, 16, 32, 64, 128, 256, 512, 1,024)
= 2,046

Answer: 2,046 total grains of rice on the 10th day

Objects: Command1 (command button), Label1 (label)

Programming Code:

Private Sub Command1_(Click)
Dim x As Byte
Dim y As Integer, z As Integer

x = 2

Do While y <= 10
y = y + 1
z = z + (x ^ y)
Loop
Label1.Caption = Format(z, "#,##0")
End Sub

2007-09-26 22:08:51 · answer #2 · answered by Jun Agruda 7 · 2 0

2^1 + 2^2 + 2^3 + 2^4 + 2^5 + 2^6 + 2^7 + 2^8 + 2^9 + 2^10

That equals 2^1+2+3+4+5+6+7+8+9+10

Which equals 2^55.

Punch that in your calculator.

But, that's the easiest way I can see.

2007-09-26 21:49:09 · answer #3 · answered by Me 7 · 0 0

It looks like you have to use sigma between 0 and 9 to the function 2^(n + 1).

Remember:
The first day is # 0.
The second is 1.
The 10th is 9.

2007-09-26 21:48:16 · answer #4 · answered by Anonymous · 0 1

What?!!

2007-09-26 21:47:21 · answer #5 · answered by dark_halo153 2 · 0 1

fedest.com, questions and answers