Learning objectives
One of the main aims of the course is to provide students with basic programming constructions and the fundamentals of the most common numerical methods used to solve various applicative problems, critically presenting the main algorithms and their properties such as convergence, stability, accuracy, complexity, using examples and counter-examples to illustrate the advantages and weaknesses of the aforementioned methods. During lectures, students will be able to experiment with the presented algorithms in software environments widely used for scientific computing: MATLAB and Excel. At the end of the course, the student will be able to use computational tools to understand, analyze and solve problems of moderate difficulty in different areas of applied mathematics.
Prerequisites
Basics notions of Calculus
Course unit content
Floating-point systems – Machine arithmetics – Rounding errors - Definition of array and related algebraic operations - Introduction to Excel - Introduction to Matlab as user-friendly environment for scientific computations – Matlab as programming language - Numerical solution of nonlinear equations - Interpolation of data and functions by algebraic polynomials - Numerical integration: simple and iterated Newton-Cotes formulas
Full programme
Error analysis: Representation of numbers in a computer - Rounding errors - Machine operations - Numerical cancellation - Conditioning of a problem - Stability of an algorithm.
Numerical resolution of non-linear equations: bisection algorithm and Newton algorithm - Convergence results - Stop tests.
Interpolation of data and functions: interpolation by algebraic polynomials - Lagrange interpolation formula - Interpolation error - Least square method
Numerical integration: Interpolatory quadrature rules - Newton-Cotes formulas - Error estimates - Iterated formulas - Convergence results.
Introduction to Matlab: Matlab as matrix laboratory - definition of array and algebraic array operations - Matlab as programming language: counter cycles, condition cycles, structured tests - Function files and script files - Matlab main numerical routines - Matlab for graphics
Bibliography
"Numerical analysis". L.W. Johnson, R.D. Riess. Addison-Wesley (1982).
Teaching methods
Classroom lectures and exercises. Numerical exercises with MATLAB and Excel in Computer Science lab. In the lab lessons, numerical and programming exercises will be assigned. The presentation of the solutions by the students will be taken into account for the final evaluation.
Assessment methods and criteria
Lab test with Matlab/Excel programming exercises related to simple numerical algorithms, to be done on computer, and written questions on theoretical arguments. Tests will be carried out in presence.
There is in addition the possibility of dividing the exam into two partial tests, consisting of programming exercises to be carried out on the computer and written theory questions too. The first test is scheduled during the teaching break of the second semester and the second is carried out in conjunction with the first official exam of the summer session. With this method the final evaluation will be based on the average of the results of the two tests. The partial tests can only be carried out at the two times indicated and failure to participate in one of the two precludes the possibility of completing the exam in this modality.
Other information
- - -
2030 agenda goals for sustainable development
- - -