Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Now, let's alter our code to include subfunctions. Open up your bendingstress.m file. Let's add a subfunction to calculate I in terms of $r_o$ and $r_i$.

That brings us to the end of this tour. Before we part, let's remind ourselves of some important programming guidelines that we have followed in this tour:

...