PřF:F1400 Computer programming - Course Information
F1400 Computer programming
Faculty of ScienceAutumn 2008
- 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 7:00–7:50 F3,03015
- Timetable of Seminar Groups:
F1400/02: Tue 10:00–11: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
- At the end of this course, students should be able to use the C programming language for implementation of basic tasks in physics and numerical mathematics; use program gnuplot to visualize simulated or measured data; use programs Octave and Matlab for basic tasks in numerical mathematics; use the LaTeX typesetting system to write texts in physics.
- 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
- 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
- Assessment methods
- Student has to present a program written in C and its documentation typeset in LaTeX.
- Language of instruction
- Czech
- Further comments (probably available only in Czech)
- 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/
- Enrolment Statistics (Autumn 2008, recent)
- Permalink: https://is.muni.cz/course/sci/autumn2008/F1400