The physics of risk assessment