.. include:: sub.txt ====================================================== Cantilever 2D EQ ground motion with gravity Analysis ====================================================== #. The source code is shown below, which can be downloaded :download:`here `. #. The ground motion data file :download:`here ` must be put in the same folder. #. Run the source code in your favorate Python program and should see results below :: ========================================================= Start cantilever 2D EQ ground motion with gravity example u2 = -0.07441860465116278 Passed! ========================================= .. literalinclude:: /pyExamples/Canti2DEQ.py :linenos: