.. include:: sub.txt ========================================= Restrained beam under thermal expansion ========================================= #. The original model can be found `here `_. #. The Pypton source code is shown below, which can be downloaded :download:`here `. #. Make sure the `numpy`_ and `matplotlib`_ packages are installed in your Python distribution. #. Run the source code in your favorate Python program and should see .. image:: /_static/beamThermal.png .. literalinclude:: /pyExamples/beamThermal.py :linenos: