Modelling physical and biological systems