Programming for Engineers
Problem solving with Python: control flow, functions, data files, NumPy, pandas, classes, algorithms, SciPy, Monte Carlo and software practice.
ENCM-100 Year 1 3 credits 12 lessons · 5 h 54 min
Offered by HSM University · Engineering Core
This is the American version of this course. See the Canadian version.
What you'll learn
- Break engineering problems into algorithms, plan them with pseudocode and flowcharts, and debug and test programs
- Use variables, types, expressions, the math module and formatted output correctly, including floating-point limits
- Write programs with decisions and loops, including input validation, bisection, Newton's method and design searches
- Organize code into documented, tested functions and modules
- Process data with lists, dictionaries, files and NumPy, and apply curve fitting, numerical integration, linear solvers and Euler's method
- Parse text and structured data files and handle errors with exceptions
- Use multidimensional NumPy arrays, broadcasting and linear algebra routines
- Analyze tabular and time-series data with pandas and present it with Matplotlib
- Design and use classes and dataclasses to model engineering objects
- Choose efficient algorithms and apply searching, sorting, recursion and shortest-path methods
- Solve engineering problems with SciPy and quantify uncertainty by Monte Carlo simulation
- Write tested, documented, version-controlled programs and take professional responsibility for them
Course content
12 lessons · 5 h 54 min total · final exam
- 1 Thinking like a programmer 38 min · quiz
- 2 Variables, types and expressions 32 min · quiz
- 3 Decisions and loops 35 min · quiz
- 4 Functions 32 min · quiz
- 5 Lists, files and numerical work 34 min · quiz
- 6 Text, data formats and exceptions 27 min · quiz
- 7 NumPy in depth: arrays, broadcasting and linear algebra 25 min · quiz
- 8 Data analysis with pandas and Matplotlib 25 min · quiz
- 9 Objects and classes 28 min · quiz
- 10 Algorithms, recursion and efficiency 26 min · quiz
- 11 Scientific computing with SciPy and Monte Carlo simulation 27 min · quiz
- 12 Software practice and a course project 25 min · quiz
- E Final exam 20 questions
Description
Problem solving with Python: control flow, functions, data files, NumPy, pandas, classes, algorithms, SciPy, Monte Carlo and software practice.
Part of the Engineering stream, typically taken in year 1.