The response function of a slab of noninteracting nuclear matter