For a box, a x b x c, with on all sides except one where .
Solve laplaces equation: with . Then so , , and .
checking with B.C.'s you get: and . The full solution is then:
where . The solution can be found for arbitrary B.C.'s by superpositions
of this solution.