Brief recall of the C language, basic techniques of scientific numerical computation. Visualization ad input-output on file.
Implementation with physical examples of numerical methods for interpolation, derivation, linear systems solving, ordinary differential equations and partial differential equations. Application will span from heat diffusion, molecular dynamics, non-linear oscillators, wave propagation.
Course Content - Last names M-Z
Brief recall of the C language, basic techniques of scientific numerical computation. Visualization ad input-output on file.
Implementation with physical examples of numerical methods for interpolation, derivation, linear systems solving, ordinary differential equations and partial differential equations. Application will span from heat diffusion, molecular dynamics, non-linear oscillators, wave propagation.
Lecture notes and lectures are available on the course web page on the e-l.unifi.it
A recommended reference is:
Programmazione scientifica. Luciano M. Barone - Enzo Marinari - Giovanni Organtini - Federico Ricci-Tersenghi
Pearson Education Italia (2006)
Lecture notes and lectures are available on the course web page on the e-l.unifi.it
A recommended reference is:
Programmazione scientifica. Luciano M. Barone - Enzo Marinari - Giovanni Organtini - Federico Ricci-Tersenghi
Pearson Education Italia (2006)
Learning Objectives - Last names A-L
Provide the basic tools of numerical calculation and simulation of physical systems, data analysis and their visualization. Familiarity with the C language and the basic functioning of a digital computer.
Learning Objectives - Last names M-Z
Provide the basic tools of numerical calculation and simulation of physical systems, data analysis and their visualization. Familiarity with the C language and the basic functioning of a digital computer.
Prerequisites - Last names A-L
Basic notions of geometry, linear algebra, analysis 1, differential equations.
The knowledge of a programming language is recommended, preferably the C language.
Prerequisites - Last names M-Z
Basic notions of geometry, linear algebra, analysis 1, differential equations.
The knowledge of a programming language is recommended, preferably the C language.
Teaching Methods - Last names A-L
Frontal lessons followed by laboratory experiences.
In the laboratory we shall write, compile and execute programs, analyzing the resulting data.
We will use the C language and the gnuplot software for graphic display.
Teaching Methods - Last names M-Z
Frontal lessons followed by laboratory experiences.
In the laboratory we shall write, compile and execute programs, analyzing the resulting data.
We will use the C language and the gnuplot software for graphic display.
Elements of the C language: functions, arrays, pointers, structures. The Gnuplot data display system. Input-output on files, pipes. (Pseudo) random number generator. Histograms and probability distribution functions. Monte-Carlo method, diffusion and random walk. An example of a numerical experiment. Methods for solving linear algebra problems and applications to systems of ordinary differential equations. Calculation systems of derivatives with numerical methods. Numerical methods of integration of ordinary differential equations: stability and precision. Efficiency of the numerical simulation. Methods of Verlet and Runge-Kutta, harmonic oscillator, pendulum and other non-linear systems. Numerical integration of partial differential equations. Wave propagation. Molecular dynamics, applications to the simulation of a particle gas in interaction by Lennard-Jones.
Course program - Last names M-Z
Elements of the C language: functions, arrays, pointers, structures. The Gnuplot data display system. Input-output on files, pipes. (Pseudo) random number generator. Histograms and probability distribution functions. Monte-Carlo method, diffusion and random walk. An example of a numerical experiment. Methods for solving linear algebra problems and applications to systems of ordinary differential equations. Calculation systems of derivatives with numerical methods. Numerical methods of integration of ordinary differential equations: stability and precision. Efficiency of the numerical simulation. Methods of Verlet and Runge-Kutta, harmonic oscillator, pendulum and other non-linear systems. Numerical integration of partial differential equations. Wave propagation. Molecular dynamics, applications to the simulation of a particle gas in interaction by Lennard-Jones.