Computational methods

undergraduate
numerical methods
programming
python
This course introduces Python programming for scientific and engineering applications. Students will develop problem-solving skills using computational tools, focusing on numerical methods, data analysis, and visualization. The course covers core Python programming concepts along with key scientific libraries NumPy, SciPy, and Matplotlib, enabling students to model, analyze, and visualize engineering systems.
Author

Marco A. Alsina

Objectives

By the end of the course, students will be able to:

  • Develop structured Python programs to solve engineering problems.
  • Apply numerical methods using scientific libraries for data analysis and modeling.
  • Manipulate and analyze datasets efficiently using array-based computing.
  • Visualize engineering data and simulation results effectively.

Contents

Unit I: Fundamentals of Python programming

  1. Basic syntax, variables, and data types
  2. Control flow structures
  3. Functions and modular programming
  4. File input/output and basic debugging

Unit II: Numerical computing with NumPy

  1. Introduction to arrays and vectorized operations
  2. Array indexing, slicing, and broadcasting
  3. Linear algebra operations
  4. Performance considerations and vectorization

Unit III: Scientific computing with SciPy

  1. Numerical integration and differentiation
  2. Solving linear and nonlinear equations
  3. Optimization techniques
  4. Introduction to ordinary differential equations (ODEs)

Unit IV: Data visualization with Matplotlib

  1. Basic plotting
  2. Customization of plots
  3. Multi-plot figures and subplots
  4. Visualization of scientific and engineering data

Lectures

id Title Author Date
1 01. Python basics Marco A. Alsina May 17, 2026
2 02. Control flow Marco A. Alsina May 17, 2026
3 03. Functions Marco A. Alsina May 19, 2026
No matching items