- Docente: Niccolò Moggi
- Credits: 3
- SSD: ING-IND/19
- Language: Italian
- Teaching Mode: Traditional lectures
- Campus: Bologna
- Corso: First cycle degree programme (L) in Mechanical Engineering (cod. 0927)
-
from Sep 21, 2022 to Dec 21, 2022
Learning outcomes
On completion of this course the students will be able to develop with Python simple algorithms that describe the evolution of dynamic systems. Namely they should be able to solve numerically differential equations and be familiar with numeric and graphic libraries.
Course contents
Recap of the Python language (v3.*).
Python data structures and libraries (Numpy, Scipy).
Matrix computing and solution of systems of linear algebraic equations.
Numerical solution of ordinary differential equations (ODE) with Euler, Euler-Cromer and Runge-Kutta methods
The armonic and anharmonic oscillator, friction and time dependent forces.
Plotting and visualization with Matplotlib.
Teaching methods
Lectures will be held in laboratory where a computer will be available for each student. Large parte of the time will be devoted to exercises and practicing.
As concerns the teaching methods of this course unit, all students must attend Module 1, 2 [https://www.unibo.it/en/services-and-opportunities/health-and-assistance/health-and-safety/online-course-on-health-and-safety-in-study-and-internship-areas] on Health and Safety online.
Assessment methods
The final exam consist in the preparation of a program in Python and of a report in which the students will describe the solution of an assigned numerical analysis problem
Teaching tools
Overhead projector, computers available in the lab (Linux). Students are allowed to use their own laptop (Windows, Linux, macOS).
Office hours
See the website of Niccolò Moggi