MuhammadNabeelSh commited on
Commit
9ee0157
·
verified ·
1 Parent(s): becf0c1

Update src/streamlit_app.py

Browse files
Files changed (1) hide show
  1. src/streamlit_app.py +1 -1
src/streamlit_app.py CHANGED
@@ -322,7 +322,7 @@ def main():
322
  f"{sigma_uts} MPa",
323
  f"{epsilon_break}",
324
  f"{epsilon_y:.4f}",
325
- f"{np.trapz(stress, strain):.1f} MJ/m³"
326
  ],
327
  "Description": [
328
  "Stiffness in elastic region",
 
322
  f"{sigma_uts} MPa",
323
  f"{epsilon_break}",
324
  f"{epsilon_y:.4f}",
325
+ f"{np.trapezoid(stress, strain):.1f} MJ/m³"
326
  ],
327
  "Description": [
328
  "Stiffness in elastic region",