F1400 Computer programming

Faculty of Science
Autumn 2009
Extent and Intensity
1/2/0. 3 credit(s). Type of Completion: z (credit).
Teacher(s)
doc. RNDr. Petr Mikulík, Ph.D. (lecturer)
doc. RNDr. Petr Mikulík, Ph.D. (seminar tutor)
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.
Timetable
Tue 8:00–8:50 F4,03017
  • Timetable of Seminar Groups:
F1400/01: Tue 9:00–10:50 Fcom,01034
F1400/02: Tue 11:00–12: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
- list and describe basic methods of numerical mathematics including matrix algebra
- apply the gained programming knowledge to set up short codes in C, 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. Identificators, 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
    required literature
  • Jazyková poradna Ústavu pro jazyk český AVČR. Často kladené dotazy: http://www.ujc.cas.cz/poradna/porfaq.htm
  • Pravidla českého pravopisu
    recommended literature
  • RYBIČKA, Jiří. Latex pro začátečníky. 2. vyd. Brno: Konvoj, 1999, 190 s. ISBN 8085615746. info
  • http://www.octave.org/docs.html; http://octave.sourceforge.net
  • LVOVSKÁ, Leni and Roman PLCH. Sázíme v LaTeXu diplomovou práci z matematiky. 1. vyd. Brno: Masarykova univerzita, 2003, 122 s. ISBN 8021032286. info
    not specified
  • 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
  • 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
  • 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
  • JANERT, Philipp K. Gnuplot in action : understanding data with graphs. Edited by Colin D. Kelley - Thomas Williams. Greenwich: Manning, 2010, xxxi, 360. ISBN 9781933988399. info
  • QUARTERONI, Alfio and Fausto SALERI. Scientific computing with MATLAB and Octave. 2nd ed. Berlin: Springer, 2006, xvi, 318. ISBN 3540443630. info
  • KOPKA, Helmut and Patrick W. DALY. Latex : podrobný průvodce. Vyd. 1. Brno: Computer Press, 2004, vii, 576. ISBN 8072269739. info
  • KOČIČKA, Pavel and Filip BLAŽEK. Praktická typografie. Vyd. 1. Praha: Computer Press, 2000, xiv, 288. ISBN 8072263854. info
Teaching methods
Apart from lectures, there is a credit-mandatory practical excersize 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.
Language of instruction
Czech
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 2010, Autumn 2011, Autumn 2011 - acreditation, spring 2012 - acreditation, Autumn 2012, Autumn 2013, Autumn 2014, Autumn 2015, Autumn 2016, autumn 2017, Autumn 2018, Autumn 2019, Autumn 2020, autumn 2021, Autumn 2022, Autumn 2023, Autumn 2024.
  • Enrolment Statistics (Autumn 2009, recent)
  • Permalink: https://is.muni.cz/course/sci/autumn2009/F1400