Mr Yeo has successfully written his quadratic equation solver program, so now all you people out there can use it for their homework. :)
And that's the first step to conquering Fortran! :)
Unfortunately, Yahoo Geocities is closing its server this October, so I shan't bother to post it up; will probably do so when I've found another host. :)
So many smilies. Yay! :)
Tuesday, August 25, 2009
Monday, August 24, 2009
Water Me Down!
You know, I’ve always wanted to construct a Walsh Diagram for a simple molecule? So what exactly is a Walsh diagram? Well, let me illustrate using water as an example; one should know that water has an equilibrium geometry that is bent, with a H-O-H angle of 104.5 degrees as such:
And of course, the other limiting (non-equilibrium) geometry would be a linear geometry with a H-O-H angle of 180 degrees as follows:
So now the question is, why is the former geometry adopted by water molecule? Phrasing this question another way: is it such that the energy of the water molecule is lower when it has a H-O-H bond angle of 104.5 degrees?
Well, the easiest way to find out whether this is true or not (not so much why it is true!) is to plot a graph of the energy of the water molecule against the H-O-H bond angle.
Now usually you wouldn’t be able to calculate the total electronic energy of the water molecule by hand, but since I’m bundled up with this molecular calculation suite called Gaussian03 (yes, I know the latest version is G09!), I’ve performed the calculations using my trusty laptop.
So here’s the graph, or like how they call it, the Walsh Diagram for the water molecule (click to enlarge):

This graph actually shows that the 104.5 degrees H-O-H bond angle gives rise to a lower total electronic energy of water than the linear geometry! So be convinced! That the Singaporean education system isn't wrong! :)
So the next step comes in explaining why that's the case.
Another time. :p
And all calculations were clumsily performed with a minimal STO-3G basis set using the Hartree Fock level of theory, which merely took 5 seconds or so for each single point energy calculation.
Yay! Time to sleep. :)
And of course, the other limiting (non-equilibrium) geometry would be a linear geometry with a H-O-H angle of 180 degrees as follows:
So now the question is, why is the former geometry adopted by water molecule? Phrasing this question another way: is it such that the energy of the water molecule is lower when it has a H-O-H bond angle of 104.5 degrees?
Well, the easiest way to find out whether this is true or not (not so much why it is true!) is to plot a graph of the energy of the water molecule against the H-O-H bond angle.
Now usually you wouldn’t be able to calculate the total electronic energy of the water molecule by hand, but since I’m bundled up with this molecular calculation suite called Gaussian03 (yes, I know the latest version is G09!), I’ve performed the calculations using my trusty laptop.
So here’s the graph, or like how they call it, the Walsh Diagram for the water molecule (click to enlarge):

This graph actually shows that the 104.5 degrees H-O-H bond angle gives rise to a lower total electronic energy of water than the linear geometry! So be convinced! That the Singaporean education system isn't wrong! :)
So the next step comes in explaining why that's the case.
Another time. :p
And all calculations were clumsily performed with a minimal STO-3G basis set using the Hartree Fock level of theory, which merely took 5 seconds or so for each single point energy calculation.
Yay! Time to sleep. :)
Saturday, August 15, 2009
Don't Point So Much!
I'm undertaking this module on group theory, and I noticed something that I never really thought about because I just took things for granted. Now, given that:

And given that the first two results are definitely correct, what can one say about the third?

And well well, here are two molecules where students usually assign the wrong point group to:


If you'd like to try, then don't play cheat and figure it out from scratch! :)
Because I am the lazy person that I am (I'm too tired, :p), the answers are as follows without explanation or elaboration:

And given that the first two results are definitely correct, what can one say about the third?

And well well, here are two molecules where students usually assign the wrong point group to:


If you'd like to try, then don't play cheat and figure it out from scratch! :)
----------------------------------------------
Because I am the lazy person that I am (I'm too tired, :p), the answers are as follows without explanation or elaboration:
Saturday, August 1, 2009
Satisfaction
I've been feeling rather dry lately, but I'd just like to say:
Science is nothing more than intellectual satisfaction to me. It represents not the truth, neither is it any philosophy; it is simply a set of tools, principles and logic obtained from empirical evidence that appeals to the human mind in such a way that I am excited by it.
That being said, truth is not discovered, but revealed only to those who seek it. :)
So continue to seek Him YYK. :)
Science is nothing more than intellectual satisfaction to me. It represents not the truth, neither is it any philosophy; it is simply a set of tools, principles and logic obtained from empirical evidence that appeals to the human mind in such a way that I am excited by it.
That being said, truth is not discovered, but revealed only to those who seek it. :)
So continue to seek Him YYK. :)
Monday, June 22, 2009
Druggie Druggie Addict!
There's a hidden birthday message, can you find it?
So here's the case; as is the case with the USA, Singaporean soldiers are not allowed to take illegal drugs (besides the usual smoke I guess, which is perfectly legal). The question that I pose to you now, is:If you'd like to do a survey to find out how many Singaporean soldiers consume illegal drugs, how would you do it?
You must keep in mind that if they do confess or are caught answering "Yes", then they will face the death penalty or some other kind of huge fine. The nice guy you are, you'd want to come up with a way to prevent this, and yet come up with some sort of estimate of figures.
Knowing this blog, it's definitely a statistical trick that you'll have to employ, but what? Heh.
-------------------------------------------
Well, the thing is, you've got to let them confess in secret, but yet you have to know what they confessed somehow. But you need to ensure their anonymity and safety as well!
As such, leaving any high-technology mind reading devices out, we are left with no choice but to play Jedi mind tricks.
Yeah right. We just use what we learnt in high school - that's right, simple statistics, for a good estimation.
We come up with three types of cards, as shown (of course their backs will be all of the same colour):

Each type of card is associated with one type of question - these questions need not be written on the card, but may be posed to the soldiers verbally. Now, to ensure that the soldiers draw out a card at random, so the chance of drawing a red, blue or green card is 1/3 for all, we have say, a good number of cards (say 72 cards) laid down like this:

So now, the chance or probability that any soldier draws the green, blue or red card, is exactly 1/3, even if he or she has a propensity or tendency to draw from the corners or from the middle of the deck. Make sure that the cards are laid in the order as shown for the probability to be true.
Let's give it a go; let's say for example, that out of 12000 soldiers who were surveyed, 5600 of them answered "Yes". Assuming all soldiers are sane, and that they completely understand English and are well, disciplined enough to not want to play with the system, they'll be truthful.
Therefore, all "Yes" replies must mean that the soldiers either chose the red or blue card.
Since 12000 is a huge enough number, and this is a fair test, we should be confident enough to say that on average, we expect 4000 soldiers to say "Yes" to the question of whether "Is this card red?"
If that is the case, then we expect that on average, at least 1600 soldiers do take some kind of illegal drug.
On the other hand, we also expect 4000 soldiers to say "Yes" to the question of "Do you take drugs?"
So what does all these mean? It means that on average, we expect at best, 1600 soldiers to be taking drugs, but at worst, 4000 soldiers to be taking drugs.
It'd be good to perform another test on another group first, to obtain the standard deviation! Haha.
So... what do you think? Aren't statisticians rather useful? Heh.
Saturday, May 30, 2009
Representations
Well, for those who have no knowledge of matrices, here's a challenge I have for you; given that the rules of 2x2 matrix mutliplication are summarised as such:

Can you find me a 2x2 matrix, such that when it's multiplied by itself, yields:

There's about 10000000000000000000000000000000000 such matrices by the way. So if you can find 1, and you think you're smart, think again. Haha.
Well, even though this post has been here for the longest time, it seems that no one has ventured beyond perfunctory reading, so I guess I'll just carry on.
One possible matrix would be:

And another would be:

There's actually a pattern: the number in the upper left and lower right positions are the same! But of course, you'd need the right combination. Heh. Can you find any more? There's probably a million more of these, haha.

Can you find me a 2x2 matrix, such that when it's multiplied by itself, yields:

There's about 10000000000000000000000000000000000 such matrices by the way. So if you can find 1, and you think you're smart, think again. Haha.
------------------------------------------
Well, even though this post has been here for the longest time, it seems that no one has ventured beyond perfunctory reading, so I guess I'll just carry on.
One possible matrix would be:

And another would be:

There's actually a pattern: the number in the upper left and lower right positions are the same! But of course, you'd need the right combination. Heh. Can you find any more? There's probably a million more of these, haha.
Tuesday, January 20, 2009
Stay Still!
I think I’ll go into the idea of stationary states today; what exactly is a stationary state? Well, it’s essentially a state of a system, where the energy of the state remains constant over time. Defined more rigorously, it’s a state where the expectation values of observables remain constant over time.
For instance, let us take a look at the particle-in-a-box wavefunctions (as functions of time and position):
So let’s consider the probability density function of finding the particle within the box:
Notice that the phase factors (exponential time factors) cancel out when the complex conjugation is taken and multiplied! That is, the probability density function isn’t a function of time! It’s solely a function of position and thus, doesn’t vary with time.
How about the expectation value of the position? Well let’s take a look:
Hey! It turns out that the expectation value of the position doesn’t depend on time as well! So, it turns out that for all states of the system that are eigenstates (that is, if the system exists only as an eigenstate), the state is a stationary state!
So what isn’t a stationary state? Well, let’s look at linear combinations of eigenstates; we know that any linear combination (properly normalized of course) of eigenstates will still result in an arbitrary state that is a solution of the Schrödinger equation, so let’s try a positive linear superposition of the ground state and first excited state (I’ve normalized it for all of you already):
Let us now evaluate the probability density function (click on it to enlarge it):
Notice that now the probability density function is a function of time as well! The time phase factors no longer cancel out! It turns out that for any linear combination of eigenstates, the state will no longer be a stationary state – and therefore observables like its energy, momentum and even position will not have time-constant expectation values.
If you’ve heard physics professors go, “It’s all because of the cross terms!” this is what it means. Haha.
For instance, let us take a look at the particle-in-a-box wavefunctions (as functions of time and position):
So let’s consider the probability density function of finding the particle within the box:
Notice that the phase factors (exponential time factors) cancel out when the complex conjugation is taken and multiplied! That is, the probability density function isn’t a function of time! It’s solely a function of position and thus, doesn’t vary with time.
How about the expectation value of the position? Well let’s take a look:
Hey! It turns out that the expectation value of the position doesn’t depend on time as well! So, it turns out that for all states of the system that are eigenstates (that is, if the system exists only as an eigenstate), the state is a stationary state!
So what isn’t a stationary state? Well, let’s look at linear combinations of eigenstates; we know that any linear combination (properly normalized of course) of eigenstates will still result in an arbitrary state that is a solution of the Schrödinger equation, so let’s try a positive linear superposition of the ground state and first excited state (I’ve normalized it for all of you already):
Let us now evaluate the probability density function (click on it to enlarge it):
Notice that now the probability density function is a function of time as well! The time phase factors no longer cancel out! It turns out that for any linear combination of eigenstates, the state will no longer be a stationary state – and therefore observables like its energy, momentum and even position will not have time-constant expectation values.
If you’ve heard physics professors go, “It’s all because of the cross terms!” this is what it means. Haha.
Subscribe to:
Posts (Atom)

