Algorithmization and Programming (E012036)
Katedra: | ústav technické matematiky (12101) |
Zkratka: | ZAPGEN | Schválen: | 24.03.2022 |
Platí do: | ?? | Rozsah: | 1P+2C+0L |
Semestr: | | Kredity: | 3 |
Zakončení: | KZ | Jazyk výuky: | EN |
Anotace
Students are acquainted with programming language C and exercised at basic problems of numerical mathematics.
Osnova
Illustration of a simple program, translation, loading and debugging program. Basic elements of C, variables and arrays. Expressions. Assignment expression and statement. Operators of incrementation and decrementation, if statement and conditional expression, switch statement. Go statement, loop statement. Input and output statements. Functions, call by reference and value. Solution of equations f(x) = 0. Numerical integration. Recursive function, pointers, dynamic allocation of memory. Sorting. Solution of system linear equations by finite and iterative methods. Type typedef, enumeration type, structures. Date structures in language C.
Literatura
Materiály k předmětu na http://marian.fsik.cvut.cz/zapg/
Kurz Základů algoritmizace a programování v Moodle, https://moodle-vyuka.cvut.cz/course/view.php?id=3939
Munther Gdeisat and Francis Lilley, MATLAB® by Example : Programming Basics,
https://ebookcentral.proquest.com/lib/cvut/detail.action?docID=1110717
Richard Colgren, Basic MATLAB, Simulink, and Stateflow
https://ebookcentral.proquest.com/lib/cvut/detail.action?docID=3111497
Barclay,K.A.: ANSI C Problem Solving and Programming, Prentice Hall 1990;,
www.cplusplus.com/doc/tutorial