F1400 Computer programming

Faculty of Science
autumn 2017
Extent and Intensity
1/1/0. 2 credit(s). Type of Completion: z (credit).
Teacher(s)
doc. RNDr. Petr Mikulík, Ph.D. (lecturer)
Guaranteed by
prof. RNDr. Josef Humlíček, CSc.
Department of Condensed Matter Physics – Physics Section – Faculty of Science
Contact Person: doc. RNDr. Petr Mikulík, Ph.D.
Supplier department: Department of Condensed Matter Physics – Physics Section – Faculty of Science
Timetable
Mon 18. 9. to Fri 15. 12. Tue 15:00–15:50 F1 6/1014
  • Timetable of Seminar Groups:
F1400/01: Mon 18. 9. to Fri 15. 12. Tue 16:00–16:50 Fcom,01034
F1400/02: Mon 18. 9. to Fri 15. 12. Wed 15:00–15:50 Fcom,01034
Prerequisites
basic PC skills
Course Enrolment Limitations
The course is also offered to the students of the fields other than those the course is directly associated with.
fields of study / plans the course is directly associated with
Course objectives
The main objective of the course is to provide the students with the ability to
- describe basic algorithms of numerical mathematics including iterations and matrix algebra,
- apply the gained programming knowledge to set up short codes in C for simple problems,
- know how to use gnuplot, Octave and Matlab for simple problems,
- employ the graphical system gnuplot a typografical system LaTeX in scope of creating scientific texts.
Syllabus
  • 1. Operating systems. Programming languages, programming, scripting. Editors and developing environments. Documentation. 2. Representation of numbers in the computers. Computational errors. Propagation of errors during the calculation. Good, badly conditioned tasks. 3. Language C. Basic structure of the language. Identifiers, variables, constants. Data types. Declarations. Arrays, allocation of memory. Strings. Operations. Assignments. Input/Output. Standard functions, libraries. Routines and macros, their parameters. Language C++. 4. Program gnuplot. Basic data and function plotting. 5. Programs Octave / Matlab. Working with the program, basic commands. M-files. Graphical output. Input/output. 6. Writing scientific texts in LaTeX. Basic commands. Packages. Basics of typography. Fonts. Environments. Equations, tables. Bibliography and index. Figures.
Literature
  • KERNIGHAN, Brian W. and Dennis M. RITCHIE. Programovací jazyk C : The C Programming Language (Orig.). Translated by Vladimír Benko. 1. vyd. Bratislava, Praha: Alfa, Státní nakladatelství technické literatury, 1988, 249 s. info
  • KERNIGHAN, Brian W. and Dennis M. RITCHIE. Programovací jazyk C. 2. vyd. Bratislava: Alfa, 1989, 249 s. ISBN 80-05-00154-1. info
  • STROUSTRUP, Bjarne. C++ : programovací jazyk : The C++ programming language (Orig.). 1. české vyd. Praha: Softwarové Aplikace a Systémy, 1997, 686 s. ISBN 80-901507-2-1. info
  • RYBIČKA, Jiří. Latex pro začátečníky. 2. vyd. Brno: Konvoj, 1999, 190 s. ISBN 8085615746. info
  • LAMPORT, Leslie. LATEX : a document preparation system : user's guide & reference manual. Illustrated by Duane Bibby. Reading: Addison-Wesley Publishing Company, 1986, 242 s. ISBN 0-201-15790-X. info
  • GOOSSENS, Michel, Frank MITTELBACH and Alexander SAMARIN. The LaTeX companion. Reading, Mass.: Addison Wesley, 1994, 528 s. ISBN 0-201-54199-8. info
  • http://www.octave.org/docs.html; http://octave.sourceforge.net
  • HERINGOVÁ, Blanka and Petr HORA. Matlab pro Windows. Praha: H-S, 1995, 147 s. info
  • HERINGOVÁ, Blanka and Petr HORA. Matlab pro Windows. Praha: H-S, 1995, l sv. info
  • GANDER, W. and Jiří HŘEBÍČEK. Solving Prolems in Scientific Computing Using Maple and MATLAB. 3rd ed. Heidelberg: Springer Verlag, 1997, 408 pp. ISBN 3-540-61793-0. info
Teaching methods
Apart from lectures, there is a credit-mandatory practical exercise held in computer lab.
Assessment methods
Before creditting, each student submits a particular problem from numerical mathematics solved via a program code and equipped with LaTeX documentation. Further small tasks during semester have to be fulfilled.
Language of instruction
Czech
Follow-Up Courses
Further comments (probably available only in Czech)
Study Materials
The course can also be completed outside the examination period.
The course is taught annually.
Teacher's information
http://www.physics.muni.cz/~mikulik/vyuka/
The course is also listed under the following terms Autumn 2007 - for the purpose of the accreditation, Autumn 1999, Autumn 2010 - only for the accreditation, Autumn 2000, Autumn 2001, Autumn 2002, Autumn 2003, Autumn 2004, Autumn 2005, Autumn 2006, Autumn 2007, Autumn 2008, Autumn 2009, Autumn 2010, Autumn 2011, Autumn 2011 - acreditation, spring 2012 - acreditation, Autumn 2012, Autumn 2013, Autumn 2014, Autumn 2015, Autumn 2016, Autumn 2018, Autumn 2019, Autumn 2020, autumn 2021, Autumn 2022, Autumn 2023, Autumn 2024.
  • Enrolment Statistics (autumn 2017, recent)
  • Permalink: https://is.muni.cz/course/sci/autumn2017/F1400