Note
Go to the end to download the full example code or to run this example in your browser via JupyterLite.
Beam deflection under a uniform load#
Compute an inspectable engineering model using SI inputs. See the linked domain guide for assumptions and benchmark checks.

{'max_abs_shear': 5000.0, 'max_abs_moment': 6250.0, 'max_abs_deflection': 0.010172526041666666, 'reactions': (5000.0, 5000.0)}
import matplotlib.pyplot as plt
from engineeringkit.structural_engineering import SimplySupportedBeam
result = SimplySupportedBeam(5, 200e9, 8e-6).solve_uniform_load(2000)
print(result.summary())
fig, axes = result.plot()
for ax, label in zip(axes, ["shear [N]", "moment [N m]", "deflection [m]"]):
ax.set_ylabel(label)
fig.tight_layout()
plt.show()
Total running time of the script: (0 minutes 0.143 seconds)