Designing environments : real-world mathematics through science