Studying a physics problem with the help of open source software