Interaction between water waves and elastic plates: using the residue calculus technique