Acknowledgments: I am indebted to Larry Boenigk (a.k.a. Lawrence of the Middle East) for the use of his online notes in developing the above.