A more complex example

The code and results