This page contains code developed in this free online book:
Reliability and Sensitivity of Structures
by Professor Terje Haukaas
published July 29, 2026
Functions defined in all chapters & appendices, plus the El Centro ground motion, are collected in these files: RelSensCode.zip*
Because the code from each chapter starts by importing the code from the previous chapter, all you need to do at the start of your Python file is to write:
from Chapter15code import *
Doing so will make functions from all chapters and appendices available to you.
*Clicking the link will connect you to a Dropbox storage. That means you will see a list of files, each containing the code from a chapter or an appendix. Near the top of that page, on the right-hand side, there is a Download link, i.e., a small arrow pointing down to a horizontal line. In the dialog box that then appears, there is NO NEED to sign in to Dropbox. Instead, just click on “Or continue with download only” at the bottom of the dialog box, to quickly download all the files to your computer.