"Simple" Maths Problems - CLOSED!

Message boards : Cafe SETI : "Simple" Maths Problems - CLOSED!
Message board moderation

To post messages, you must log in.

Previous · 1 . . . 6 · 7 · 8 · 9 · 10 · 11 · 12 . . . 25 · Next

AuthorMessage
Profile Sarge
Volunteer tester

Send message
Joined: 25 Aug 99
Posts: 12273
Credit: 8,569,109
RAC: 79
United States
Message 754212 - Posted: 16 May 2008, 23:50:31 UTC

Joke answer: consume none. Open boxes, dump out contents, look for prizes, eat none of it.
Kobyashi Maru.
Capitalize on this good fortune, one word can bring you round ... changes.
ID: 754212 · Report as offensive
Fred W
Volunteer tester

Send message
Joined: 13 Jun 99
Posts: 2524
Credit: 11,954,210
RAC: 0
United Kingdom
Message 754215 - Posted: 16 May 2008, 23:59:30 UTC

Not very mathematically rigorous (many years since I covered this ground) but my punt is 16 boxes.

F.
ID: 754215 · Report as offensive
Profile William Rothamel
Avatar

Send message
Joined: 25 Oct 06
Posts: 3756
Credit: 1,999,735
RAC: 4
United States
Message 754303 - Posted: 17 May 2008, 4:01:05 UTC - in response to Message 753831.  

Sarge--I need to give this more rigor instead of the intuitive stuff I like which is usually wrong. On the problem of the 4 colors. I think about the following.

The chance (probability) of having an acceptable draw at trial 1 is 1.00
And that having been done the chance of having a successful draw on trial 2 is 3/4 or .75 and that having been done the chance of having a successful draw on the third trial is .5 since only half of the color choices would be successful. On the fourth trial the probability of success is .25
.
Therefore .75 x .5 x .25 =.0975 Taking the inverse of this is 1/.0975 =10.25 so I say that the expected number of trials would be 11.

Of course I seem to remember something about conditional probability that is missing here in my analysis. I don't even know if Bayes theory needs to be applied here --I think not


Anyhow: My answer is 11 trials


here: let's think out load--Actually the .0975 is the probability of doing it in four boxes. So out of a bunch of trials of four only 9.75 % of those trials would be successful. So if you did 10 trials your probability would be close to one or .975. so 11 trials would put you over 1.00 (fuzzy thinking ?) Now the question is : what is the meaning of expected number of trials/ The problem is not how many trials of four boxes-it is how many boxes to get 4 different colors.

Another way is that any result of a draw of four is equally likely ie 1234 is just as likely as 1111.

There would be 4x4x4x4 combinations or 256 possible outcomes of which 4 x 3 x2 x 1 would be a success or 24. so 24/256 = only 9.375 % of the outcomes are favorable --this also suggests 11 tries to be at a certainty if everything is random.

But I think it has to be done on the basis of conditional probability and may even be more complicated than that. I will rest and sleep on it for now.
ID: 754303 · Report as offensive
Luke
Volunteer developer
Avatar

Send message
Joined: 31 Dec 06
Posts: 2546
Credit: 817,560
RAC: 0
New Zealand
Message 754344 - Posted: 17 May 2008, 6:36:03 UTC

Sorry Bill. Wrong Answer. Try Again!


- Luke.
ID: 754344 · Report as offensive
W-K 666 Project Donor
Volunteer tester

Send message
Joined: 18 May 99
Posts: 19065
Credit: 40,757,560
RAC: 67
United Kingdom
Message 754367 - Posted: 17 May 2008, 7:50:20 UTC

my guess at cereal problem is (4 * 3 * 2 * 1) - (3 * 2 * 1) = 18.

But I'm useless at these prediction problems, probably because like statistics, I never have to use them, so I'm probably wrong again.
ID: 754367 · Report as offensive
Profile Dominique
Volunteer tester
Avatar

Send message
Joined: 3 Mar 05
Posts: 1628
Credit: 74,745
RAC: 0
United States
Message 754382 - Posted: 17 May 2008, 9:01:06 UTC - in response to Message 754191.  
Last modified: 17 May 2008, 9:48:49 UTC


Q26: There is a free gift in my breakfast cereal. The manufacturers say that the gift comes in four different colors, and encourage one to collect all four (thus eating lots of cereal). Assuming there is an equal chance of getting any one of the colors, what is the expected number of boxes I must consume to get all four?


The answer to the problem can be expressed as the sum of the following:

Number of tries to get a first toy.
Number of tries to get a second toy once you have one toy.
Number of tries to get a third toy once you have two toys.
Number of tries to get the final toy once you have three toys.

The number of tries to get one toy is obviously one.
Once you have one the probability of getting a different toy in the next box is 3/4, thus the expected number of tries is 1/(3/4) = 4/3 to get the second toy.

By the same logic the number of tries to get the third is 1/(1/2)=2 and 1/(1/4)=4 for the final toy.

Adding these up yields 1 + 4/3 + 2 + 4 = 25/3 or 8.3333333333etc.

I'd say that actually you'd need 9 boxes.

Then again if you're really lucky you only need 4
ID: 754382 · Report as offensive
Luke
Volunteer developer
Avatar

Send message
Joined: 31 Dec 06
Posts: 2546
Credit: 817,560
RAC: 0
New Zealand
Message 754718 - Posted: 17 May 2008, 20:38:40 UTC - in response to Message 754382.  


Q26: There is a free gift in my breakfast cereal. The manufacturers say that the gift comes in four different colors, and encourage one to collect all four (thus eating lots of cereal). Assuming there is an equal chance of getting any one of the colors, what is the expected number of boxes I must consume to get all four?


The answer to the problem can be expressed as the sum of the following:

Number of tries to get a first toy.
Number of tries to get a second toy once you have one toy.
Number of tries to get a third toy once you have two toys.
Number of tries to get the final toy once you have three toys.

The number of tries to get one toy is obviously one.
Once you have one the probability of getting a different toy in the next box is 3/4, thus the expected number of tries is 1/(3/4) = 4/3 to get the second toy.

By the same logic the number of tries to get the third is 1/(1/2)=2 and 1/(1/4)=4 for the final toy.

Adding these up yields 1 + 4/3 + 2 + 4 = 25/3 or 8.3333333333etc.

I'd say that actually you'd need 9 boxes.

Then again if you're really lucky you only need 4


Dominique is correct...
Q26 Answer: 8.333334 Boxes

Standings:
1. Mr. Kevvy - 7 Points
2. William Rothamel - 6 1/2 Points
3. WinterKnight - 5 Points
4. Sarge - 5 Points
5. Dominique - 4 1/2 Points
6. Fred W - 1 1/2 Points
7. John McLeod VII - 1 Point
8. Scary Capitalist - 1/2 Point
9. TBD......

Dominique is 1/2 a point out of range of Sarge and WinterKnight. But has created a big gap between 5th and 6th.....

Q29, 30, 31 coming soon.....


- Luke.
ID: 754718 · Report as offensive
Luke
Volunteer developer
Avatar

Send message
Joined: 31 Dec 06
Posts: 2546
Credit: 817,560
RAC: 0
New Zealand
Message 754801 - Posted: 18 May 2008, 0:12:41 UTC

I've got 3 more for everybody out there....

Q29: You are to roll a die over and over until you get a six.
What is the expected total of all throws before you throw a six?
By the "total" I mean the sum of the die faces, for example the sequence 1-3-5-6 would have a total of 9.

Q30: A cubic piece of cheese has been subdivided into 27 subcubes.
(so that it looks like a Rubik's Cube). A mouse starts to eat a corner subcube.
After eating any given subcube it goes on to another adjacent subcube. Is it possible for the mouse to eat all 27 subcubes and finish with the center cube?

Q31: On average how often does the minute hand pass the hour hand on an ordinary clock?

Best Regards,
Luke.
- Luke.
ID: 754801 · Report as offensive
Profile William Rothamel
Avatar

Send message
Joined: 25 Oct 06
Posts: 3756
Credit: 1,999,735
RAC: 4
United States
Message 754827 - Posted: 18 May 2008, 1:46:34 UTC
Last modified: 18 May 2008, 1:52:36 UTC

Q31 seems obvious that it is once per hour or every 60 minutes on average--although the hour hand would move 1/12 of the way around so that this would be 65 minutes on average.
ID: 754827 · Report as offensive
Profile Labbie
Avatar

Send message
Joined: 19 Jun 06
Posts: 4083
Credit: 5,930,102
RAC: 0
United States
Message 754828 - Posted: 18 May 2008, 1:48:17 UTC

Q31: every 65 minutes.

Calm Chaos Forum...Join Calm Chaos Now
ID: 754828 · Report as offensive
Profile William Rothamel
Avatar

Send message
Joined: 25 Oct 06
Posts: 3756
Credit: 1,999,735
RAC: 4
United States
Message 754829 - Posted: 18 May 2008, 1:50:24 UTC - in response to Message 754801.  

I've got 3 more for everybody out there....

Q29: You are to roll a die over and over until you get a six.
What is the expected total of all throws before you throw a six?
By the "total" I mean the sum of the die faces, for example the sequence 1-3-5-6 would have a total of 9.

Q30: A cubic piece of cheese has been subdivided into 27 subcubes.
(so that it looks like a Rubik's Cube). A mouse starts to eat a corner subcube.
After eating any given subcube it goes on to another adjacent subcube. Is it possible for the mouse to eat all 27 subcubes and finish with the center cube?

Q31: On average how often does the minute hand pass the hour hand on an ordinary clock?

Best Regards,
Luke.


I still have trouble with the notion of "Expected" value or number.

The roll of two dice has 36 combinations of which a six can be rolled in the following ways:

1 and 5
5 and one
2 and 4
4 and two
3 and 3
3 and 3
so 1/6 of the rolls would be a six so i say that the expected number of rolls would be 6

Answer = 6
ID: 754829 · Report as offensive
Luke
Volunteer developer
Avatar

Send message
Joined: 31 Dec 06
Posts: 2546
Credit: 817,560
RAC: 0
New Zealand
Message 754834 - Posted: 18 May 2008, 2:05:45 UTC

Bill Wins Q31. Sorry Labbie! You were 2 Minutes Late!

Q31 Answer: 65 Minutes

And we have a new problem solver champion.... Congratulations to Bill!!! May you have a long and prosperous reign.

Problem Solver Champions:
1. WinterKnight
2. Mr. Kevvy
3. William Rothamel - Current

Standings:
1. William Rothamel - 7 1/2 Points
2. Mr. Kevvy - 7 Points
3. WinterKnight - 5 Points
4. Sarge - 5 Points
5. Dominique - 4 1/2 Points
6. Fred W - 1 1/2 Points
7. John McLeod VII - 1 Point
8. Scary Capitalist - 1/2 Point
9. TBD......

Bill grabs the crown of Number One. Just....

Also Bill- just to clear the confusion around Question 29...

Example: What would be the average total of all die rolls until a six is rolled
i.e.
1,3,5 - 6 = 1+3+5=9. 9 is the total sum of all the rolls until a six. What would be the average total sum?

Q29 & 30 still up for grabs.

Best Regards,
Luke.



- Luke.
ID: 754834 · Report as offensive
Profile Sarge
Volunteer tester

Send message
Joined: 25 Aug 99
Posts: 12273
Credit: 8,569,109
RAC: 79
United States
Message 754863 - Posted: 18 May 2008, 4:04:21 UTC
Last modified: 18 May 2008, 4:55:09 UTC

I am looking at a Rubik's Cube right now.
There's a little ambiguity as to what you are taking to be adjacent.

I was going write a few different versions, based on different interpretations of adjacent, first assuming you mean they share an edge on the visible outside. But that in itself would prevent getting to what I call the core piece (your center cube).

Even then, there's some amiguity. For example, is a corner piece adjacent to a face center piece?



Let us assume the answer is no. Then we have the following.

6 face center pieces, 4 edges pieces and the core piece, for a total of 5 pieces.
8 corner pieces, each adjacent to 3 edges pieces.
12 edge (connecting to face center pieces) pieces, adjacent to 2 face center pieces and 2 corner pieces, for a total of 4 pieces.
1 core piece, adjacent to 6 face center pieces.

Rephrasing, two sub-cubes are being considered adjacent if they share a face, even if that face is not visible on the outside of the Rubik's Cube. Put yet another way, one cannot travel from one sub-cube to another if the two sub-cubes share only a point or an edge.

Now, I want to use up all the sub-cubes, ending at the core piece. Do I want the sub-cubes to be the nodes or the arcs? (I am using these terms as opposed to vertices and edges to avoid conflicting geometrical terms about the cubes and graph theoretic/combinatorics terminology.)

I am currently working on viewing the pieces as the arcs, so that I can consider an Euler path (using all the arcs), for which there are necessary and sufficient conditions to determine if an Euler path exists. "A connected, undirected multigraph has an Euler path but not an Euler circuit if and only if it has exactly two nodes of odd degree."

A nice thing about this is that I can look at 5 + 3 + 4 + 6 = 18 nodes, rather than 27.

I guess that means there are 27 arcs then, as well. Therefore, the sum of the degrees is 54. At least it is not odd, but it does not narrow anything out yet.

Here's the arc set, then: {core,blue,{blue,red,orange},{blue,orange},{blue,orange,green},{blue,green},{blue,green,white},{blue,white},{blue,white,red},{blue,red},white,red,orange,green,{green,white},{white,red},
{red,orange},{orange,green},yellow,{yellow,red,white},{yellow,white},{yellow,white,green},{yellow,green},{yellow,green,orange},{yellow,orange},{yellow,orange,red},{yellow,red}}.
Besides, the core, a single color is used for a face center piece, two colors for an edge piece and 3 colors for a corner piece.

(More editing underway.)
Capitalize on this good fortune, one word can bring you round ... changes.
ID: 754863 · Report as offensive
Luke
Volunteer developer
Avatar

Send message
Joined: 31 Dec 06
Posts: 2546
Credit: 817,560
RAC: 0
New Zealand
Message 755005 - Posted: 18 May 2008, 8:33:11 UTC

Sarge, in this context "adjacent" is up,down,left or right of the square. Not Diagonal.

Q29 & Q30 are still here:
Q29: You are to roll a die over and over until you get a six.
What is the expected total of all throws before you throw a six?
By the "total" I mean the sum of the die faces, for example the sequence 1-3-5-6 would have a total of 9.

Q30: A cubic piece of cheese has been subdivided into 27 subcubes.
(so that it looks like a Rubik's Cube). A mouse starts to eat a corner subcube.
After eating any given subcube it goes on to another adjacent subcube. Is it possible for the mouse to eat all 27 subcubes and finish with the center cube?

Best Regards,
Luke.
- Luke.
ID: 755005 · Report as offensive
Profile William Rothamel
Avatar

Send message
Joined: 25 Oct 06
Posts: 3756
Credit: 1,999,735
RAC: 4
United States
Message 755036 - Posted: 18 May 2008, 9:40:46 UTC
Last modified: 18 May 2008, 10:29:15 UTC

ok I think I understand the DIE problem? Just thinking out loud. A six occurs one sixth of the time so: I guess that the expected value for the number of rolls would be six and the total of all the spots would be expected to be 6+5+4+3+2+1=21. Another way to look at it is that the 6 could occur at any one of the rolls and that on average you would expect it to occur after (1+2+3+4+5+6)/6=3.5 rolls the problem here is that any other number could appear during the other 2.5 rolls. The expected value on a single roll would; also be 3.5

so 3.5 x 3.5 =12.25 is my answer


I need to read up on what EXPECTED VALUE means. My last probability course was in 1969.
ID: 755036 · Report as offensive
Fred W
Volunteer tester

Send message
Joined: 13 Jun 99
Posts: 2524
Credit: 11,954,210
RAC: 0
United Kingdom
Message 755049 - Posted: 18 May 2008, 10:39:39 UTC

Q30: The answer is No.

This may be a Maths thread but I don't know how to put my reasoning into mathematical terms; however the logic goes as follows:

The cube has 3 layers, 1, 2 and 3 where the mouse is starting at the corner of layer 1 and the final piece to be eaten is at the centre of layer 2.

If it were possible then the following would have to be true:

(a) The penultimate piece to be eaten would have to be the centre of layer 3 since the final one is adjacent only to the centre pieces on each of the faces of the cube.

(b) For (a) to be true, the mouse would have to have eaten round the edge of layer 3 ending in the middle of one side before consuming the centre piece on layer 3. Thus the first piece on layer 3 must be corner piece.

(c) To start layer 3 on a corner piece, the previous piece must have been a corner piece on layer 2. Thus the mouse has eaten round layer 2, leaving the centre piece on this layer, having started in the middle of one of the sides of layer 2.

(d) To have started layer 2 in the middle of one side, it must have finished layer one in the middle of a side of the square.

But there is no sequence that will allow it to start at the corner, consume all 9 pieces on layer 1 and not finish at a corner piece.

Consequently, the pesky rodent cannot succeed (and a good thing too, as I like my cheese ;)

F.

ID: 755049 · Report as offensive
Fred W
Volunteer tester

Send message
Joined: 13 Jun 99
Posts: 2524
Credit: 11,954,210
RAC: 0
United Kingdom
Message 755051 - Posted: 18 May 2008, 10:44:04 UTC

If my previous answer to Q30 is wrong then the answer is Yes ;)

F.
ID: 755051 · Report as offensive
Profile Labbie
Avatar

Send message
Joined: 19 Jun 06
Posts: 4083
Credit: 5,930,102
RAC: 0
United States
Message 755052 - Posted: 18 May 2008, 10:46:53 UTC - in response to Message 754834.  
Last modified: 18 May 2008, 11:26:17 UTC

Bill Wins Q31. Sorry Labbie! You were 2 Minutes Late!

Q31 Answer: 65 Minutes



Yeah, check his edit time, 4 minutes after my post.

[EDIT] He added everything following the "--" during that edit.

But hey, if you want to play favorites and Bill needs the satisfaction of winning badly enough to cheat, more power to you both. [/EDIT]

See ya.

Calm Chaos Forum...Join Calm Chaos Now
ID: 755052 · Report as offensive
Profile William Rothamel
Avatar

Send message
Joined: 25 Oct 06
Posts: 3756
Credit: 1,999,735
RAC: 4
United States
Message 755188 - Posted: 18 May 2008, 17:20:17 UTC - in response to Message 755052.  

Bill Wins Q31. Sorry Labbie! You were 2 Minutes Late!

Q31 Answer: 65 Minutes



Yeah, check his edit time, 4 minutes after my post.

[EDIT] He added everything following the "--" during that edit.

But hey, if you want to play favorites and Bill needs the satisfaction of winning badly enough to cheat, more power to you both. [/EDIT]

See ya.


You are right --Labbie should get the point--I presumed he would.
ID: 755188 · Report as offensive
Luke
Volunteer developer
Avatar

Send message
Joined: 31 Dec 06
Posts: 2546
Credit: 817,560
RAC: 0
New Zealand
Message 755242 - Posted: 18 May 2008, 18:41:33 UTC - in response to Message 755052.  

Bill Wins Q31. Sorry Labbie! You were 2 Minutes Late!

Q31 Answer: 65 Minutes



Yeah, check his edit time, 4 minutes after my post.

[EDIT] He added everything following the "--" during that edit.

But hey, if you want to play favorites and Bill needs the satisfaction of winning badly enough to cheat, more power to you both. [/EDIT]

See ya.


When I first saw Bills post, It was 2 Minutes in front of yours. I got there before he edited it.
Hey, I'll happily give you the point and a half for any trouble I may of coursed.

Bill, your answer to Q29 is wrong.
Fred, you got Q30 right first time!
Q30 answer is No.

Q29 Remains:
Q29: You are to roll a die over and over until you get a six.
What is the expected total of all throws before you throw a six?
By the "total" I mean the sum of the die faces, for example the sequence 1-3-5-6 would have a total of 9.

Standings:
1. Mr. Kevvy - 7 Points
2. William Rothamel - 6 1/2 Points
3. WinterKnight - 5 Points
4. Sarge - 5 Points
5. Dominique - 4 1/2 Points
6. Fred W - 2 1/2 Points
7. Labbie - 1 1/2 Points
8. John McLeod VII - 1 Point
9. Scary Capitalist - 1/2 Point
10. TBD.....

Best Regards,
Luke.
- Luke.
ID: 755242 · Report as offensive
Previous · 1 . . . 6 · 7 · 8 · 9 · 10 · 11 · 12 . . . 25 · Next

Message boards : Cafe SETI : "Simple" Maths Problems - CLOSED!


 
©2024 University of California
 
SETI@home and Astropulse are funded by grants from the National Science Foundation, NASA, and donations from SETI@home volunteers. AstroPulse is funded in part by the NSF through grant AST-0307956.