7
Scientific Computing Home Assignment #1 Dr. Guy Tel-Zur

Scientific Computing Home Assignment #1 Dr. Guy Tel-Zur

Embed Size (px)

Citation preview

Page 1: Scientific Computing Home Assignment #1 Dr. Guy Tel-Zur

Scientific Computing

Home Assignment #1Dr. Guy Tel-Zur

Page 2: Scientific Computing Home Assignment #1 Dr. Guy Tel-Zur

General Guidelines and Rules

Programming standards: Pay attention to programming style. Your code should be well documented with comments and clear variable names. It should use indentation and white space (blanks and blank lines) to make the code structure clear. It should be modular and use well chosen procedures. Your assignment will be graded in part for code quality.

Page 3: Scientific Computing Home Assignment #1 Dr. Guy Tel-Zur

Collaboration: You are allowed to consult outside sources and your classmateswith doing the assignments. You must type every line of whatever code you hand in and do all writing yourself.• Add instructions how to execute your code• Programming language: Fortran 95, C/C++ or

Python

Page 4: Scientific Computing Home Assignment #1 Dr. Guy Tel-Zur

• Submit you assignment to: [email protected] the assignment contains more than a single file then use archive tools such as gzip/winzip etc’ and also compress these files• Due: Lecture #6

Page 5: Scientific Computing Home Assignment #1 Dr. Guy Tel-Zur

• Goal: Time dependent integration.• The Runge-Kutta (RK) method – Reference

MHJ chapter 13, section 4: http://physics.bgu.ac.il/%7Egtelzur/teaching/comphy/MHJ2009/hjorth-jensen_notes2009_13.pdf

• The core of the assignment is taken from this: http://physics.bgu.ac.il/%7Egtelzur/teaching/comphy/slides/hw2.pdf

(PY 502, Computational Physics (Fall 2010)Department of Physics, Boston University)

Page 6: Scientific Computing Home Assignment #1 Dr. Guy Tel-Zur

Evaluation

• A correct running program (up to page 5 – part A of the hw) : 80%

• A readable and clear programming: +5%• A well documented program: +5%• Graphical output using Gnuplot, root or

Python’s tools (Matplotlib, Mayavi,…): +10%

Page 7: Scientific Computing Home Assignment #1 Dr. Guy Tel-Zur

Bonus

• Part B (page 5): +5%