Archive for June, 2006

Laplace’s Equation

Posted on June 30, 2006. Filed under: C++, Mathematics, Source Codes |

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 [...]

Read Full Post | Make a Comment ( 1 so far )

Stride Implementation

Posted on June 29, 2006. Filed under: Algorithms, Numerical methods |

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 [...]

Read Full Post | Make a Comment ( 2 so far )

My first Python Experience

Posted on June 28, 2006. Filed under: Python |

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 [...]

Read Full Post | Make a Comment ( 4 so far )

The Hello World Collection

Posted on June 28, 2006. Filed under: Links |

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 [...]

Read Full Post | Make a Comment ( None so far )

Hello World!

Posted on June 27, 2006. Filed under: Thoughts |

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. [...]

Read Full Post | Make a Comment ( None so far )

Liked it here?
Why not try sites on the blogroll...