
Numerical and Probabilistic Methods
Code: 104395 ECTS Credits: 6| Degree | Type | Year |
|---|---|---|
| Computational Mathematics and Data Analytics | OB | 2 |
Contact
- Name:
- Carles Barril Basil
- Email:
- carles.barril@uab.cat
Teachers
- Sundus Zafar
Teaching groups languages
You can view this information at the end of this document.
Prerequisites
It is advisable to have done at least one course of analysis, linear algebra and probability.
Objectives and Contextualisation
Learning Outcomes
- CM12 (Competence) Compare the use of numerical calculus with the use of abstraction in mathematics to solve a problem.
- CM13 (Competence) Control the errors produced by machines when calculating.
- SM12 (Skill) Develop independent strategies to solve numerical method problems, differentiating between routine and non-routine problems and designing a strategy to solve a problem.
- SM13 (Skill) Use algorithmic and data representation structures suitable for solving a mathematical problem.
Content
1.- Numerical integration. Newton-Côtes and Gaussian methods
2.- Monte Carlo methods for calculating areas
2.1- Generation of random variables
3.- Numerical integration of ordinary differential equations (one variable)
3.1- Initial value problem
3.1.1– Euler method
3.1.2- Order of consistency and convergency
3.1.3- Taylor methods
3.1.4- Runge-Kutta methods
3.1.5- Variable Step methods
3.1.6- Multistep methods
3.2- Problem of values at the border
3.2.1- Shooting method
3.2.2- Split Differences method
Activities and Methodology
| Title | Hours | ECTS | Learning Outcomes |
|---|---|---|---|
| Type: Directed | |||
| Lab exercices | 14 | 0.56 | |
| Problem classes | 8 | 0.32 | |
| Theoretical classes | 27 | 1.08 | |
| Type: Autonomous | |||
| Study, exercises and preparation of lab exercises | 96 | 3.84 |
The tools of mathematics, and very particularly those of numerical calculus need to be learned and practiced. Simply memorizing a formula or a theorem, if we have not applied it at any time, it is possible that it does not go to the first tries. In addition, the numerical calculation tools have been done to solve problems that need a lot of calculations and these calculations will normally be done by a computer, with a program that we have done. Even if the program is made by another person, it is convenient to know how it works in order to detect if any result can be unstable or incorrect.
But we can not make a program to apply a method if we previously have not practiced it, even if it is with a simple or even trivial problem that would not even have a need of the numerical method.
The theoretical sessions will be dedicated to the teacher's presentation of the different methods and their analysis. The exhibition of the methods will be accompanied by examples of their behavior, carried out with computers, which are aimed at both facilitating the understanding of the method and motivating their analysis.
Problems of theoretical and calculation types are resolved in the problem sessions. In the case of calculation problems, there will be some requiring the use of a calculator or even the use of a computer. In the latter case, the problems will not be computationally intensive, so the necessary algorithms may be implemented quickly in a numeric language interpreter or even in a spreadsheet (Excl). The teacher will combine the resolution of problems for the whole class, on the part of a student throughout the class and for all students at the same time, in a group, with the teacher's help.
The computer practice sessions form part of the subject dedicated to introducing scientific computing. They will be dedicated to the solution of computationally more intensive problems, which will be implemented in a compiled language. In solving these problems students will progressively construct their personal library of routines that implement basic numerical methods.
Annotation: Within the schedule set by the centre or degree programme, 15 minutes of one class will be reserved for students to evaluate their lecturers and their courses or modules through questionnaires.
Assessment
Continous Assessment Activities
| Title | Weighting | Hours | ECTS | Learning Outcomes |
|---|---|---|---|---|
| Computer Program | 0.4 | 0 | 0 | SM12, SM13 |
| Final exam | 0.39 | 3 | 0.12 | CM12, CM13 |
| Partial exam | 0.21 | 2 | 0.08 | CM12, CM13 |
The course evaluation will take place from three activities:
- Partial Exam (EP): Exam of part of the course, with theoretical questions and problems.
- Final Exam (EF): Exam of the whole subject, with theoretical questions and problems.
- Computer Labs (PR): Delivery of code and a report.
Unique assessment
Students who have opted for the single assessment modality must take the final exam (EF) of the subject on the same date as students in the continuous assessment. This test will account for 60% of the grade. On this same date, the student must submit the project and internship report and, if the teacher requires it, an oral assessment of the internship will be carried out. The evaluation of the internship will account for 40% of the final grade. In addition, students will be able to take a retake exam (ER) with the same characteristics as the EF exam. If the student takes the retake exam the grade of ER will replace the grade EF (that is, the grade EF will be equal to the grade obtained in the retake exam). It is a prerequisite to overcome the course that EF > = 3.5 and PR > = 3.5.
Bibliography
M. Grau, M. Noguera. Càlcul numèric. Edicions UPC, 1993.
J.D. Faires, R. Burden. Métodos numéricos, 3a ed. Thomson, 2004.
G. Dahlquist, A. Björk. Numerical methods. Prentice Hall, 1964.
R. Burden, J.D. Faires. Numerical analysis, 6a ed. Brooks/Cole, 1997. En castellà: Análisis numérico, 6a ed., International Thomosn, 1998.
G. Hämmerlin, K.-H. Hoffmann. Numerical mathematics. Springer, 1991.
J. Stoer, R. Bulirsch. Introduction to numerical analysis, 3a ed. Springer, 2002.
A. Ralston and P. Rabinowitz. A first course in numerical analysis. McGraw-Hill, 1988.
A. Quarteroni, R. Sacco and F. Saleri. Numerical Mathematics. Springer, 2000.
Software
The student could choose to do the programs in Python, R or C.
Groups and Languages
Please note that this information is provisional until 30 November 2025. You can check it through this link. To consult the language you will need to enter the CODE of the subject.
| Name | Group | Language | Semester | Turn |
|---|---|---|---|---|
| (PLAB) Practical laboratories | 1 | Catalan | second semester | morning-mixed |
| (SEM) Seminars | 1 | Catalan | second semester | morning-mixed |
| (TE) Theory | 1 | Catalan | second semester | morning-mixed |