Skip to main content

Template-Based programming is a method of assigning projects which require use of high-level programming or scripting language, without requiring the student to spend time with the overhead of applications development.

For details on the method and the rationale behind it, see the paper, "Template-Based Programming in Chemical Engineering Courses", Proceedings of the 2001 ASEE Annual Conference & Exposition. American Society for Engineering Education, 2001.

This page is maintained to provide templates for other instructors interested in working with this approach.  All I ask for return is that you drop me an email letting me know you are using them, and provide templates you develop for posting on this site.

DOWNLOADS
These are zip files containing all files provided to the student.  Note that IDE file references must be customized to your system.

Compaq Visual Fortran 6.1

  • Calculating the machine epsilon (used in a process modeling course)
  • Solving systems of linear equations using Gauss-Siedel Iteration (again, a process modeling assignment)
  • Solving the SRK EOS using Newton's method (used in the sophomore material and energy balances course)

Microsoft Visual Basic.NET

  • Calculating the machine epsilon (used in a process modeling course)
  • Solving the SRK EOS using Newton's method (used in the sophomore material and energy balances course)

Microsoft Excel XP with Visual Basic for Applications

  • Solving the PR EOS using Newton's method (the latest iteration in the sophomore course)
  • Solving systems of linear equations using Gauss-Siedel Iteration (process modeling)
  • Solving systems of 1st order ODEs with Runge-Kutta (process modeling)