Panel |
---|
Author: Rajesh Bhaskaran, Cornell University Problem Specification |
Step 6: Plot σx vs. ri , Take 4: Functions
Let's create a function to calculate the bending stress that outputs σx given (M, ri, ro ). Functions are really useful to break down your code into modules and also reuse parts of your code.
...