Versions Compared

Key

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

...

Using my calculator, I get σx=-101.7 MPa. We'll check the MATLAB result against this value.

Calculate σx at point O

In your program, leave a blank line and start a new section for calculating σx at point O with an explanatory comment line. Then, create the parameters M, ro, and ri since these are needed to calculate σx.

...