An experience to improve pupils' performance in inverse problems