Archive for June, 2006
Laplace’s Equation
This what I am working on currently: Solution of Laplace’s equation for a square mesh using finite difference method with Dirichlet’s boundary conditions. Quite a mouthful, but it’s not as daunting as it sounds. It’s a great introduction to numerical methods for solution of partial differential equations(PDEs).
Laplace’s Equation ∂²φ/∂²x+∂²φ/∂²y=0 finds importance in physics, appearing in [...]
Stride Implementation
Here’s something one of my profs taught me. We were working on solving the Laplace Equation for a square mesh, given the boundary values. We want to learn how to solve different types of partial differential equations numerically and that will hopefully lead us to learning some Computational Fluid Dynamics.
So we stored the function [...]
My first Python Experience
I finally installed Python today. The setup had been sitting in my computer for a few months. The program hasn’t been updated since. Good. After installing, I went to the folder and found the shortcuts Python (GUI) and Python (Command Line). Obviously I chose the former. Here’s how my first run went:
Python 2.4.3 (#69, Mar [...]
The Hello World Collection
I came across this site, The Hello World Collection. It’s a whole collection of Hello World programs written in languages. It’s a great place to start off and have a look at the features and differences between programming languages. Some of the interesting entries are:
BrainF***
Human
Logo
Piet
POV-Ray
Shakespeare
Turing Machine
Whitespace
And of course you’ll find the regular ones too [...]
Hello World!
What better way to start a blog on programming than with the above two words? Of course, the first program that I was taught was not how to print “Hello World!”, but it was something close nonetheless.
I learnt how to program in C++ in school. And we mainly learnt it on the Turbo C++ platform. [...]


