Tuesday, December 27, 2005

An very important software:rasmol

Yesterday,I bought a book about Monte Carlo method written by Jun S. Liu who is a statistician in Havard.(书名叫做科学计算中的蒙特卡落策略,写的相当好)。
In his book,he use the rasmol software to show the structure of carbon dioxide.
So I just search google to find whatever rasmol is,now I know it's a very useful tool to discover the structure of protein.
The two pictures above is output by rasmol which reads some pdb format file.
到现在为止我才发现分子结构有这么好玩的东西,真是相见恨晚呀!呵呵。

Saturday, December 24, 2005

The Phase trasition of 2D ising model by metropolis method



我花了好大的力气才把这个世界排名第一的经典算法搞好,就是一个动态的Monte Carlo方法,
用这个方法模拟了二维情形(Ising model)下磁铁的相变,上面的图分别展示了分子平均能量,磁场强度和比热的突变。具体的细节太多了,不想总结了。
但有一点经验,that is ,Java is not suitable for scientific computing!!!

Tuesday, December 20, 2005

Monday, December 19, 2005

纪念我的一个高中同学

刚刚得知我的一个曾经的高中同学患白血病过逝了,心里真的十分难过,没想到。。。
他高中是曾是我们班的劳动委员,篮球打得也很出色,和我关系也很好,我们曾经还是同桌。。。
记得刚上大学,他给我发电子邮件,告诉我他学的是软件工程,我们还聊了一番,没想到这么快。。
该过去的都要过去,我历来是个唯物主义者,不相信有什么天堂地狱,可是现在我真的很希望天堂确乎是存在的。
一路走好。

Tuesday, December 13, 2005

Green leave here,but where is my flower?

The graph I made in matlab is about another insteresting topic:Fractal.
用了简单递归的算法生成的,当然大自然是有许多独特的设计,我调了很长时间的参数才做好。
主要包括三个层面的自相似:
-,每一片子叶形状自相似。
二,每一条经脉末端和前端自相似。
三,经脉宽度自相似。
我用了近百万个数据点,所以图像很大(about 10 mb),鉴于博客的加载速度,这只是一个被模糊了的图像,anyone who wants a initial full copy,just email me.
zeropinzuo@gmail.com

Friday, December 09, 2005

The circular motion














The two graph above I made is to show the unstability of EulerForward method during long period of computing.
上面是一个模拟万有引力控制的有心运动,用向前Euler格式造成的误差使能量不守恒,变成了向心运动。
图2用了Runge-Kutta方法,其精度有所提高,但仍不能从根本上避免能量减少。
其实最好的办法是采用辛几何,保证Hamilton量守恒,不过暂时不会,呵呵。

Strange attractor


The graph above I made is to show the amazing beauty of Chaos.
我用matlab试着作出了这个超经典的奇怪吸引子,事实上就是有两个鞍焦点,形成同宿轨道,呵呵,真的很有趣。

Monday, November 28, 2005

Love linux,love her philosphy

Love linux,love her philosophy
zeropin 发表于 2005-7-31 1:03:00
This article was published initially on another blog which I have given up for a long time.
love Linux,love her philosophy
Love Linux,Love her philosophy

How I know Linux
About six years ago,I had known Linux,which I just seen as a free toy compared to windows.
However,after having read an article written by wangyin who is a Thinghua student,I thought
I may have a try.

The start
The beginning is hard,I must solve each problem I encoutered such as Network access,Chinese output.I was nearly crazy!But in this process I really learnt much on how computer works.

Now
Now I began to be used to work in Linux.
Most important I understand the philosphy in Linux is completely from Windows.

There are two points.

First,in Linux you have the fully freedom to manage your computer.
That means computer must adapt to your taste,not Bill Gates's.At the same time,to be the owner yourself also means you must be responsible for yourself.

Second,simple is powerful.\\Each tool should be professional.In windows,
if you want to edit some text,you must install word,powerpoint.
If you want to write program,you must instll VC++.
Each of these program provide a integrated environment.
You must obey the rules of the environment,I think that just like an animal.
However in Linux you only need to work in shell to start each command such as vim,mutt,tex etc.Each tool complete the work professionally and then pass the work to another program so the wholework is completed by coopration.
That's the essential philosphy of Unix including Linux.
The rate is very high compared to Wins.

In summary,if you want to enjoy the pleasure of work,please love Linux,love her philosophy.

The long march through Computing methods:Runge methods

The graph above (which I made using Octave) shows the Runge phenonmenon in polynomial intepolation,


This term I chose an interesting cource called Computing method,
someone think it dull,but I am interested in it very much.
Only by that can I realize the power of Computing.
By the way Matlab is a great tool.
However I've not enough money to pay for it,so I decided to use Octave(a free numerical computing program)instead,that is good too!

MMIX:Simple is beauty

While reading The Art of Computer Programming,I realized MIX is not so good a design for I have to remember so many confusing commands just like x86.

Forunately,Knuth has found MMIX,a simple and concise RISC architecture
which leads me to the wonderful world of Computing.You just need to remember some basic and simple rule to control the whole computing process.That is the really powerful.
Maybe the secret of God is just to run the world in a simple logic,and that's why God is powerful.
How I wished I can create such simple and powerful tool someday!

Wednesday, November 09, 2005

Code of ethics of IEEE

Code of ethics of IEEE
Zeropin 发表于 2005-7-31 1:11:00

We, the members of the IEEE, in recognition of the importance of our technologies in affecting the quality of life throughout the world, and in accepting a personal obligation to our profession, its members and the communities we serve, do hereby commit ourselves to the highest ethical and professional conduct and agree:

1. to accept responsibility in making engineering decisions consistent with the safety, health and welfare of the public, and to disclose promptly factors that might endanger the public or the environment;

2. to avoid real or perceived conflicts of interest whenever possible, and to disclose them to affected parties when they do exist;

3. to be honest and realistic in stating claims or estimates based on available data;

4. to reject bribery in all its forms;

5. to improve the understanding of technology, its appropriate application, and potential consequences;

6. to maintain and improve our technical competence and to undertake technological tasks for others only if qualified by training or experience, or after full disclosure of pertinent limitations;

7. to seek, accept, and offer honest criticism of technical work, to acknowledge and correct errors, and to credit properly the contributions of others;

8. to treat fairly all persons regardless of such factors as race, religion, gender, disability, age, or national origin;

9. to avoid injuring others, their property, reputation, or employment by false or malicious action;

10. to assist colleagues and co-workers in their professional development and to support them in following this code of ethics.

Approved by the IEEE Board of Directors
August 1990

Wednesday, November 02, 2005

My desktop show


我现在操作系统的桌面。呵呵。

no title

no title
zeropin 发表于 2005-7-31 1:10:00
no title

暑假这几天其实很无聊,不像在pku那么有动力。

我的邻居zy被交大录取了,昨天找我聊了一个晚上,由衷地为他高兴。

我的一个曾经的同学was admitted into Auclan university,不仅是替她高兴,更希望她

来过得好,因为她实在是一个很不错的女孩。

今天看了台湾一个实业家的事迹,很为他感动,事实上我已经很少看传记文学了。我一定努

力学习,将来好好工作,做一个有用的人。


有时候自己胡思乱想,比如量子力学那些古怪的效应,你知道了动量,就不知道位置,这是

不是一种信息的缺失呢,这种信息缺失的背后是不是时间和空间的某些本性呢?嗬嗬,只是胡说。

Zeropin

军训

明天就要去军训了
Zeropin 发表于 2005-8-17 16:32:00
虽然还很想念在家的日子,但还是要接受军事训练,呵呵。
希望自己能够圆满完成任务。
Zeropin

Bifurcation

今天我花了一晚上的时间做出了混沌与分形课上的logistic映射中的bifurcation图,而且使用的是开源软件octave,克服很多技术困难,真的好兴奋呀!
可能只有经过自己艰苦的劳动所做出的成果才会感到由衷的喜悦吧,呵呵。
我会把相关细节总结出来的。

Thursday, August 11, 2005

A not too bad news.

Why haven't I post an article so long?
China has abandoned the blogspot.com,so I can't visit it.
Recently I can come here using nyud.net:8090 luckily,hehe.

At the same time I create another blog space in zeropin.blog.edu.cn,that's not too bad!

Sunday, July 10, 2005

Introduction myself

Hello,everyone.
Born in 1987,now I study Physics in Peking university.
I love physics,linux,Stefanie's songs,and you?