### Teachings

Select Academic Year:     2016/2017 2017/2018 2018/2019 2019/2020 2020/2021 2021/2022
Professor
DANIELA LERA (Tit.)
Period
Second Semester
Teaching style
Convenzionale
Lingua Insegnamento
ITALIANO

Informazioni aggiuntive

Course Curriculum CFU Length(h)
[60/64]  MATHEMATICS [64/00 - Ord. 2017]  PERCORSO COMUNE 3 36

### Objectives

The student will learn the principal functions of the Matlab software that will allow him to handle mathematical objects such as vectors and matrices. The student will also learn how to build graphs in 2 and 3 dimensions. Furthermore, will be introduced the symbolic calculation toolbox of Matlab which will allow to the student to solve simple problems of linear algebra and analytical geometry.

The student will be able to perform a descriptive statistical analysis of real data using the statistical software R. At the same time he will have acquired a good knowledge of the basic resources of the software R.

### Prerequisites

Mathematical Analysis 1, Algebra 1, Geometry 1

### Contents

The course includes two modules of 2 CFU and 1 CFU (24 and 12 hours):
1. Introduction to the scientific Matlab environment. Constants and variables. Real and complex arithmetic. Use of the library functions. Manipulation of vectors and matrices. Construction of graphics in 2 and 3 dimensions. Programming through scripts and functions. Basic programming with Matlab.
3. Basics of symbolic tool:
Simplifications of algebraic expressions; solution of equations and linear systems; calculation of limits and derivatives; calculation of integrals.
Linear algebra: vector and matrix calculus. Determinant, inverse, eigenvalues and eigenvectors. Linear systems resolution.
2. Introduction to the statistical environment R. Main features and interactive use of the environment. The help function: learn to use the functions implemented in the software by reading the available documentation. Data manipulations using the main objects of R: construction of numerical vectors, of character and logic type, construction of matrices, management of missing data, generation of subsets of matrices and vectors, arithmetic calculation exploiting the functionality of the software. Data entry and creation of a dataset. Lists on R. Saving data externally, importing data and coding variables. Univariate descriptive statistics: position indexes, variability indices, form of the distribution of a variable, frequency tables. Bivariate descriptive statistics: double-entry frequency tables, correlation measures, relationship between a categorical variable and a numerical one, relationship between two categorical variables, introduction to linear regression. Elementary graphic tools: bar charts, pie charts, histograms, boxplots, scatterplots, bivariate bar charts. Basic programming elements: construction of a function, use of cycles and conditional functions.

### Teaching Methods

Exercises in laboratory supported by some theoretical explanation and recall on the blackboard and/or slides.
To meet specific educational needs related to the epidemiological situation, the possibility of live streaming lessons is provided. Furthermore, the exercises can be carried out by means of remote interaction forms with the available IT supports.

### Verification of learning

In the final exam we aim to verify that the student has acquired a good level of competence in the use of basic functions of the two software Matlab and R.
The final exam consists in solving two separate laboratory tests, one relating to the Matlab module and the other to the R module, using the 2 softwares.
The two tests are evaluated separately, the minimum grade in each of the two is 18/30. The final grade is calculated as the arithmetic mean of the grades in the individual tests.
Compatibly with the University indications on how to carry out the exams according to the evolution of the COVID-19 emergency, the exams could be held in the presence or online with a written test at a distance using computer aids (moodle, Teams) .

### Texts

Manuals of Matlab and of R made available by the teachers on their reference web sites.
Other material: slides from the lessons held in the classroom.