2012年10月28日星期日

Csc fun and challenging.

More and more I found Csc is interesting in terms of human intelligence. I can associate the short-term memory in computer as part of our brain. We have the short-term memory center  in our heads! This is so cool when I first learned that computer shares the same characteristic as our humans. Or partly because it's a creation of human imagination, so gradually everything is connected. Biology, chemistry, universe, and the single convenient iPad I am using right now.
The quiz is getting harder, I am very ashamed that I have spent so little time on this interesting course. There are many concepts in Dr.racket that I am not familiar with. Basically i forget the past concepts when I move into a new chapter. This is not nice... I want to store them in my head forever!!!!!! So maybe I need to play around with Dr. Racket more. It s a really fun software and I feel like playing a game when i am doing assigned exercise.

2012年10月21日星期日

Algorithms and chemistry!.

Ok... I have to admit that I am a bit off the work. I am in the mid of the night doing my chemistry hw and suddenly realized that I have not finished my blog... While I am doing chemistry, counting the number of Hydrogen can be a painful experience: I waste a plenty of time just to make sure the number of hydrogen is correct. I am thinking... is there a faster, more convenient and accurate way to tell me the number of hydrogen? So here is the first algorithm I make...

First, I want to find a pattern between the number of carbons and the lovely hydrogen.

Second, I will draw a very simple chemical structure, like C2H6. Because each carbon must have 4 bonds, so there is only 3 "space" left for each hydrogen.

so the relationship bw carbon and hydrogen is CxH3x.

Wait, this is just a simple carbon molecule, how about the more complex ones?.

Third step, finding a more complex example to justify our problem.
Let's try an alkane group such as Pentane, it has a the chemical formula: C5H12. In this case, our rule CxH3x does not apply. We have to reconsider our method of finding right number of hydrogen.

Fourth step, list 4 different chemicals and find the pattern.
C1H4
C2H6
C3H8
C4H10
C5H12...

We found that there is a pattern between carbon and hydrogen: CnH2n+2.

Let's do the inverse step to check if we can use the formula to obtain the correct answer:

when n=1, C1H2*1+2=C1H4.
when n=2, C2H2*2+2=C2H6
when n=3, C3H2*3+2=C3H8
...
Yippie we found the general formula for Carbon and the number of hydrogen among alkane group.

But, in organic chemistry we don't just have alkane group which only contains single bonds, we also have double bonds and triple bonds.How can we judge if this chemical contains a double bond, a triple bond, or a single bond? What's the amount relationship bw carbon and hydrogen in a non single bonded compound? We will try to solve these problems in the next episode!.

2012年10月15日星期一

2nd week.

Oks...This week right after my biology test we had our lovely test, which could be a killer if I don't have a nice tutor like S...He just understands all the material and went through everything with me before the test! I was lucky to have him as a friend.I don't know how well I did but I am going to check it out. I find CSC a very interesting course and I really wish I could spend more time on it. But during midterm everything is messed up! What else I can say, the mapping part is kind of confusing but I am getting it. We are introduced to a new idea called algorithms。 I don't really understand it at first, so I baidu (Chinese version of Google) the word and try to understand it in my mother language.

2012年10月4日星期四

CSC is challenging and fun!.

I came to the class late,but did ok on the first 2 quizzes, which is a bit surprising. Overall Dr. Racket is a nice friend to play with. Sometimes I treat the tutorials like a game, a interaction with the computer.What I found fascinating is how can this crazy, random world is defined by only several numbers... Human imagination is the sky, the sky has no limits.
The difficulties emerge during the "hands-on" experiences. For some reason I kept making small, trivial mistakes which lead to an error in Dr. Racket. I could never write out my own functions without making mistakes... Sometimes it's very annoying to spend 30 minutes over one single function, just because I missed a "-" sign in between... I used multiple approaches to solve this problem. The most useful one, which requires more patience, is to check everything carefully, while comparing it with the "correct" ones from the websites. This is not a very efficient method comparing to working with a peer. Friends are always very keen to your mistakes... For no reason my S would always pin point out my mistakes. I need a little time to digest the knowledge on my own, while a little group work never hurts :).

I found binary number to be very fascinating but challenging at the same time... I was totally overwhelmed when my professor introduced this system... Everything makes no sense at all! But afterwards, I slowly understand the rules by tons of questions to S... He understands the thing pretty well, so he is like the teacher figure to me. Keeping asking "silly" questions is my only one to master the knowledge.