ThatDonGuy
Joined: Jun 22, 2011
• Posts: 5068
December 1st, 2016 at 6:53:56 AM permalink
Quote: Wizard

Aussie and CrystalMath are correct but I also require a solution for the glass of wine.

Er, what "glass of wine"?
onenickelmiracle
Joined: Jan 26, 2012
• Posts: 8277
December 1st, 2016 at 7:11:36 AM permalink
Quote: Wizard

How much wine was initially in the barrel?

100%, a barrel full. Winemakers have pride selling to the king. "The king has a barrel full of wine."
I am a robot.
CrystalMath
Joined: May 10, 2011
• Posts: 1907
December 1st, 2016 at 8:47:24 AM permalink
Quote: Wizard

Aussie and CrystalMath are correct but I also require a solution for the glass of wine.

The initial amount of wine is x
The first theft will leave x(1-3/x)
The second theft will leave x(1-3/x)2
The third theft will leave x(1-3/x)3

So, the remaining wine after three days, x/2 = x(1-3/x)3
1/2 = (1-3/x)^3
1-3/x = (1/2)1/3
3/x = 1-(1/2)1/3
x = 3/(1-(1/2)1/3)

Initially, I calculated the amount of water in the barrel, and came up with a polynomial that I couldn't factor.
I heart Crystal Math.
Romes
Joined: Jul 22, 2014
• Posts: 5518
December 1st, 2016 at 11:13:42 AM permalink
The king wanted to see who was loyal to him... So he poisoned the wine... So now there's 3 dead servants, and some dead hookers.
Playing it correctly means you've already won.
Wizard
Joined: Oct 14, 2009
• Posts: 23612
Thanks for this post from:
December 1st, 2016 at 11:29:08 AM permalink
Quote: CrystalMath

The initial amount of wine is x
The first theft will leave x(1-3/x)
The second theft will leave x(1-3/x)2
The third theft will leave x(1-3/x)3

So, the remaining wine after three days, x/2 = x(1-3/x)3
1/2 = (1-3/x)^3
1-3/x = (1/2)1/3
3/x = 1-(1/2)1/3
x = 3/(1-(1/2)1/3)

Initially, I calculated the amount of water in the barrel, and came up with a polynomial that I couldn't factor.

Correct! I owe you one cup of undiluted wine.
It's not whether you win or lose; it's whether or not you had a good bet.