he had been so engrossed in a textbook on differential equations ( which hed hidden inside his copy of the play ) that he missed his cue , requiring mrs. ferguson to actually walk across the room and rap his desk with her pointer before he realized they were waiting for him .