By the end of the course, the student can: |
1. Read, understand, modify, and debug programs. (i.e. recall, interpret and identify Matlab and C++ syntax)
2. Compose, compile, and execute small programs in MATLAB and C++
3. Develop algorithms for solving engineering problems.
4. Apply advanced features of MATLAB, including the symbolic toolbox, built-in ODE solvers and structured data types.
5. Build a simple circuit using an Arduino, program Arduino functions to respond to external input, and interface the Arduino with external software (MATLAB).
Computations are omnipresent in complex engineering problems in solid mechanics, fluid mechanics, civil and process engineering. Many problems are resolved with the aid of computers and dedicated programs today. Therefore, it is really important for an engineer to be familiar with computers and programming languages. In this course, you will learn how to translate problems into algorithms and how to implement the algorithm into a computer language. We will focus on implementation in two widely used programming languages: MATLAB and C++. You will learn how to write, compile, and execute small programs in each language. We teach you how to write structured reusable code (object-oriented programming in C++) and how to visualize your solutions (in MATLAB). Further, we teach how to better understand, analyze, optimize, and debug code. The course consists of lectures as well as lots of practical exercises. The course is divided into two sections, C++ and MATLAB. At the end of each section, you will be asked to solve a final assignment (at home) and attend an oral exam. The course is complemented with an extension on the implementation on solving ODE’s and the communication with an electronics platform as an Arduino and Raspberry Pi.