Solution Methods of Master Equations