Engineering Computing
I use programming to support engineering calculations, solve numerical problems, and work with data. This collection includes examples in Python and C, with Python libraries such as NumPy, pandas, SciPy, and Matplotlib.
Some of these examples originated from Computer Programming (ME 2221) and its sessional course (ME 2222), as well as Numerical Computation for Mechanical Engineers (ME 3121) and its sessional course (ME 3122). Links to the corresponding coursework details are provided.
The collection covers the following topics:
- Numerical integration, iterative solvers, and heat-transfer calculations.
- Experimental calculations, curve fitting, and scientific plotting.
- Data exploration and machine-learning exercises, including tutorial-based work.
- C programming involving pointers, matrices, dynamic memory allocation, records, and file handling.
Selected engineering examples
Shaft sizing · saved output
| Criterion | Diameter (mm) | |
|---|---|---|
| 0 | Goodman | 27.269835 |
| 1 | Gerber | 25.853082 |
| 2 | ASME elliptic | 25.768956 |
| 3 | Soderberg | 27.696013 |
Machine design
Shaft, screw & fastener calculations
Python examples for fatigue design, power-screw sizing, and joint stiffness.

Numerical methods and heat transfer
Runge-Kutta integration, boundary-value problems and blackbody spectra.

Scientific plotting
Contours, surfaces, scatter plots and grouped comparisons.

Exploring data with Pandas
Player statistics, grouped tables and salary plotting exercises.