Programming 1
- Professors:
- Guglielmann Raffaella
- Year:
- 2016/2017
- Course code:
- 507289
- ECTS:
- 6
- SSD:
- INF/01
- DM:
- 270/04
- Lessons:
- 56
- Period:
- I semester
- Language:
- Italian
Objectives
At the end of the course the student will be able to focus the connection between mathematics and automatic computation. The student will be taught about the available software useful for scientific calculus: MATLAB will be used, and some hints to Octave will be done.
Teaching methods
Lessons and laboratories with the computer
Examination
Implementation of simple programs with the computer
Prerequisites
Basic understanding of how computers work.
Syllabus
Automatic computation: basic concepts. Floating-point numbers, round-off error, error propagation. Some examples. Main Matlab instructions and implementation of mathematical algorithms. Matlab
- general purpose commands
- variables manipulation
- logical and relational operators
- script and function M-files
- vectors and matrices: basic operations and matrix manipulation
- 2D and 3D graphic commands
- for loop
- if-then-else instruction, while
- plotting of elementary functions.
Bibliography
Matlab guide