Laurence R. McGlashan | Last updated on 2021-04-08 18:59:28 +0000.
new! click here to follow me learning chinese . . .

Teaching | Engineering Maths

Main   |   PD & C   |   SHE   |   Corrosion & Materials   |   Engineering Maths


For the Engineering Maths Course it's useful to be able to write programs so that you can see how the algorithms actually work.

I've used Ruby, as it's very easy to use and get started with. I assume you're using Windows (if not, great! But I'll assume you then know what to do). Just install Ruby 1.9.2 (link below), then download the source code from github (https://github.com/lrm29/rubyMathsPrograms) or via the .zip download link below.

To start with the ODE solvers, just double click on ode_solver_executable.rb and everything should work fine. The .rb files need to be associated to ruby.exe in your Ruby/bin installation.

Downloads

Ruby Maths Programs Click to Download
Ruby 1.9.2 for Windows Click to Download

Examples Paper Notes: Numerical Integration and ODEs Click to Download
Examples Paper Notes: Optimisation and Non-linear Equations Click to Download
Examples Paper Notes: Linear Algebra Click to Download



Fork me on GitHub