see the SPH user's guide for a detailed explanation of these examples.