I've got another problem in my calculus class. This particular project doesn't include *any* calculus whatsoever. In this case I'm trying to design a contraption that raises the american flag so it doesn't get in the way of my math teacher's head when he walks near it. I've already come up with a goofy contraption that you can strap to his body so that when he gets closer to it the flag gradually raises...it works with ropes and pulleys but i was wondering if there was any method to detect when he is closer, such as something he can step on, that will activate an electric motor to raise the flag.