Thermoelastic waves in a laminated composite with a second sound effect