Chapter 9. Simulations

topics:

simulations

concepts:

emergent behavior, experimentation

In this chapter, we shall discuss one type of software application in a little more detail: simulations.

Simulations are fascinating examples of computing, because they are highly experimental, and potentially allow us to predict the future. Many types of simulations can be (and have been) developed for computers: traffic simulations, weather forecasting systems, economics simulations (simulations of stock markets), simulations of chemical reactions, nuclear explosions, environmental simulations, and many more.

We have seen one simple simulation in Chapter 6, in which we simulated part of a solar system. That simulation was a little too simplistic to accurately forecast ...

Get Introduction to Programming with Greenfoot: Object–Oriented Programming in Java™ with Games and Simulations, First Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.