?

Log in

10 May 2004 @ 06:15 pm
Copied from www.greylabyrinth.com with a slight modification. I do think this is a good question that you have to think about before plunging into solving the equations.

I have 792 black marbles and 243 white marbles. I will draw one at random and discard it into a fiery pit. I will then keep drawing more random marbles and discarding them until one doesn't match the previous one. That marble will not be discarded, but put back in the bag. The marbles will be reshuffled and the process will start over.

Example:
I draw a black marble and discard it.
I draw another black marble and discard it.
I draw a white marble and shuffle it back into the bag.
I draw a black marble and discard it.
I draw a white marble and shuffle it back into the bag.
I draw a white marble and discard it.
I draw another white marble and discard it.
I draw another white marble and discard it.
I draw a black marble and shuffle it back into the bag.

After a little while, eventually only one marble is left. What is the probability of it being black?

Bonus: What if there were 28449 white and 184930 black?
 
 
03 May 2004 @ 07:11 pm
I'm going to start to program a real simple chess game in C. Hopefully I won't struggle too much with printf()'s formattings.
 
 
25 April 2004 @ 09:29 pm
Don't we all love Mobius strips?

 
 
Current Mood: cheerfulcheerful
 
 
25 April 2004 @ 06:21 pm
Prove that sqrt(1/11....122...25) is a rational number.

In the 11....122...25, there are (n-1) 1s, and n 2s. For example, 1225 fits, and so does 11122225.
 
 
25 April 2004 @ 03:43 pm
Does anyone have a suggestion on how to improve my small game? It's where you buy fruits and then sell them. Currently, all you have to do is to buy from the factory, price them, and earn a big profit. I already have rents and bills, but it's still not an interesting game. Any suggestions are welcomed, but remember it's a small text game and I can't expand it to gigantic proportions.
 
 
 
24 April 2004 @ 06:58 pm
True to my words, I didn't update this for a looong time. The answer to the previous is posted as a comment of it. Here's another:

What is the minimum length of a strip of paper with width 1 that can be made into a Möbius Strip?
 
 
16 April 2004 @ 05:01 pm
Like it? It's "pingus" in Greek. Took me quite a while, switching between programs, because apparently LiveJournals doesn't support stuff made from Jasc Paintshop. I wish they could've allowed it to be bigger. The whole pattern is very mystical-looking.
 
 
Current Mood: accomplishedaccomplished
 
 
15 April 2004 @ 08:40 pm
I decided I shall have a Problem of the Day, one that puzzles or intrigues me, or one that I decides is really intuitive. Just because it's a Problem of the Day doesn't mean I'll have a new one everyday (*cough*). Every time I post a new problem, I'll post the answer of the previous one as a comment, so no one will be spoiled the answer.

Our first problem:

Simplify square root[square root(48) - square root(45)]

This is taken from a seventh grade problem of an honor school in China's textbook, and is considered an introductory problem (therefore "easy"). China has way harder materials; you can tell from the fact that dismissal is at five o'clock each day (we start at the same time as American schools). While it doesn't mean the education is more intuitive (or better), it is still a comparison (art class was booooooring. The teacher just walks into the room everyday and says, "Today you are to draw 20 people, 10 cars, 5 buildings, and 10 trees. Begin.").
 
 
Current Mood: contemplativecontemplative
 
 
15 April 2004 @ 08:39 pm
Wow. I had to redo my dad's company website. First I had to learn about javascript's onClick, which was easy. Then I had to use , and it didn't work. After hours of twinkling, I found out I had to use a tag too (Neopets can come in handy...). Then it still didn't work, and I figured out you have to use an image as a map, and it worked! I had to change the coordinates of the different rectangles for what seems like forever. Then I had to crop a single large image into several small ones, with only Paint as the graphic editor, and the quality was so poor I had to use something else. Word's crop had a large interval, and it was between cutting the text or leaving a large portion of the text below it. Then I found... Publisher! The crop was easy, but the GIF image was bad too. So I dragged the stupid things into Frontpage (I hate it) directly, and it inserts a whole lump of dumb, nonfunctioning code too, as well as multiple copies of each clipart (sigh) and five new directories (too tired to change them). And again, it took forever to adjust the sizes of the new windows to fit the image. Then I had to drag all the old pages from the current site onto Frontpage. If you think Frontpage makes the job easy, think again! when inserted into the source, it said something about not being a frontpage object or something, and erases large chunks of it. Then my dad told me to drag it into normal mode, and it worked except Frontpage changed the font into Times New Roman, and I have to change all of the to Arial. It took me a grand total of eight hours to finally finish.

I hate the stupid Frontpage! I wished I could've worked with a normal Linux machine, but no, it's...gahh. I hate this stupid, non-functioning, lame, waste of money, too high-leveled(too fancy), piece of c - software. %@*^$@*!!!! (My substitution for curse words).
 
 
Current Mood: frustratedfrustrated
 
 
14 April 2004 @ 06:38 pm
I just learned yesterday that mitochondria and plasmids were once seperate organisms. Isn't that fascinating? I wonder how they became a part of another organism. Maybe some other microorganism swallowed it with endocytosis, and then somehow was able to incorporate it within future generations. But that's still very strange...
 
 
Current Mood: contemplativecontemplative