70 likes | 160 Views
Scientific Computing. Home Assignment #1 Dr. Guy Tel- Zur. General Guidelines and Rules.
E N D
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.
Collaboration: You are allowed to consult outside sources and your classmates with 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
Submit you assignment to: gtelzur@gmail.com If the assignment contains more than a single file then use archive tools such as gzip/winzipetc’ and also compress these files • Due: Lecture #6
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)
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%
Bonus • Part B (page 5): +5%