Semester assignment 2014
The semester assignments will consist of one computer exercise. Three problems are given and you should choose one of them. You are asked to write and execute computer programs in order to find the appropriate solutions to the posted physical problems. You will be asked to hand it your solution as a report written in LaTeX.The computational language that we suggest using is called Python and is freely available. It is a powerful language, with a lot of libraries available for various tasks. Moreover, it is much more flexible than, for instance, Matlab, but easier to use than compilable languages like C, C++ and Fortran. An introduction to Python will be given before the first assignment. However, if you have not, or can not wait to see the use of Python in Science, I strongly recommend the nice following set of beginners tutorials recently presented at the EuroSciPy2010 conference. If you also want the test programs used here, please download the whole package from here. Also take a look at Python for Matlab Users Guide.
That being said, I would stress that you are free to use whatever programming language that you wish, Matlab included. The important point is that you should get exposed to the use of computers in solving scientific problems!
Your project will not be graded, but you have to pass it to be allowed to take the exam. In other words, the project is a compulsory activity of this class.
Problem sets
- General information about the semester assignments (just ignore the grading part!)
- Semester assignment No. 1
- Semester assignment No. 2
- Semester assignment No. 3
Final report
- The final (LaTeX) report for the projects is due on : Fri. Nov. 01, 2014.
- It should contain sufficient details and results to fully explain what you are doing. Recall that if you are not explaining what you are doing, the grader can not give you credit!
- In the report you do not have to review theory in the book. However, some of the central formula that you use it is still useful to include.
- Instructions about how to submit your project will be announced later!
You are expected to submit your assignment in the following way:
- By Fri. Nov. 01, 2014 mail your assignment to the teaching assistants following the rule:
- David Kleiven (davidkleiven446_at_gmail.com) if you family name starts with a letter in the interval A-J
- Jean-Michael Poudroux (jeanmichael.poudroux_at_gmail.com) if you family name starts with a letter in the interval K-Å
- This mail should contain/have the format:
- Subject : TFY4240 Assignment
- Attachment : report (pdf-format) AND source code
- Clearly state your full name on the first page of the report and in the email body (so we know who you are)
Python examples
Relevant links
We have collected some links for you here, if you want to learn more about Python and/or LaTeX.Python in general:
- Python official homepage
- Python documentation (the tutorial is great for beginners)
- Scientific Python beginners tutorial
- Scientific Python Doc 1
- Scientific Python Doc 2
- Scientific Python Doc 3
- SciPy and NumPy homepage
- NumPy documentation
- SciPy documentation
- Matplotlib homepage
- Gallery of matplotlib examples
- Terminal (bash) usage in Norwegian
- Terminal (bash) usage in English
- PythonXY (a good windows distribution; install the full version to get many useful libraries)
- LaTeX wikibook
- Thorough introduction to LaTeX (and typography)