Theory for plates of medium thickness