Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migrated to Confluence 5.3
Include Page
MATLAB Google Analytics
MATLAB Google Analytics
Include Page
Intro Learning Module - Panel
Intro Learning Module - Panel
Panel

Problem Specification
Step 1: Find Reactions RA, RB
Step 2: Calculate σx for ri = 1 cm
Step 3: Plot σx vs. ri
Step 4: Plot σx vs. ri: Take 2
Step 5: Plot σx vs. ri, Take 3: File Input/Output
Step 6: Plot σx vs. ri, Take 4: Functions

...

Calculate σx for ri = 1 cm

Remember elementary statics? It gives the bending stress at point O as

...

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.

...

The factor 10^-6^ above converts the result into MPa. The semi-colon at the end of the line is left off so that we can see what the resulting value of sigma_x is. Click on the Run icon in the editor (or hit the F5 key) . What is the value of sigma_x reported by your program? I get

...

This is close enough to my paper-and-pencil result of -101.7 MPa above. See my beam.m entire program here (opens in a new windowright click and select save target as, or just left-click and copy-paste in the editor).

Go to Step 3: Plot σx vs. riSee and rate the complete Learning Module

Go to all MATLAB Learning Modules