Students learn best when they clearly perceive the relevance of course content to their interests and career goals. The "trust me" approach to education ("You may have no idea now why you need to know this stuff but trust me, in a few years you'll see how important it is!") doesn't inspire students with a burning desire to learn, and those who do learn tend to be motivated only by grades. To provide better motivation, begin the course by describing how the content relates to important technological and social problems and to whatever you know of the students' experience, interests, and career goals, and do the same thing when you introduce each new topic. (If there are no such connections, why is the course being taught?) Consider applying inductive methods such as guided inquiry and problem-based learning, which use real-world problems to provide context for all course material.6 You can anticipate some student resistance to those methods, since they force students to take unaccustomed responsibility for their own learning, but there are effective ways to defuse resistance7; and the methods lead to enough additional learning to justify whatever additional effort it may take to implement them.