Introduction to computational tools for the solution of engineering problems. C++ & MATLAB programming including branching and loops, functions, file handling, arrays, and data structures. Students will be introduced to object-oriented programming, basic computing, algorithms, and principles of software engineering.
Corequisite: Must be concurrently enrolled in MATH141.
Restriction: Permission of ENGR-Mechanical Engineering department.
Credit only granted for: ENAE202 or ENME202.
Semesters OfferedFall 2017, Spring 2018, Summer 2018, Fall 2018, Spring 2019, Summer 2019, Fall 2019, Spring 2020
- Understand how to develop algorithms and code that utilize the computational tools available in MATLAB and C++
- Design, implement, and debug MATLAB scripts/functions and C++ programs to solve practical physics and engineering problems
- Gain initial exposure to the object-oriented programming paradigm
Topics CoveredUnit I: Matlab
- Variables, native functions, plotting, scripts
- Calculations with complex numbers and polynomials
- Matrix and vector operations
- User-defined functions
- Logical expressions and conditionals
- For and while loops
- Program structure, compilation, screen output
- Keyboard input, mathematical functions
- Conditionals and loops in C++
- User-defined functions in C++
- Arrays in C++
- File input and output
- Data structures
- Classes and the object oriented paradigm
- Function and operator overloading
- an ability to apply knowledge of mathematics, science, and engineering
- an ability to design a system, component, or process to meet desired needs within realistic constraints such as economic, environmental, social, political, ethical, health and safety, manufacturability, and sustainability
- an ability to function on multi-disciplinary teams
- an ability to identify, formulate, and solve engineering problems
- a recognition of the need for, and an ability to engage in life-long learning
Additional Course Information
D. Etter and J. Ingber. Engineering Problem Solving with C++. Pearson Education Inc., second edition 2008 (recommended).
E. Magrab, S. Azarm, B. Balachandran, J. Duncan, K. Heraold, G. Walsh. An Engineer's Guide to Matlab. Pearson Prentice Hall, Second edition, 2005 (recommended).