Drilling muds are oil- or water-based suspensions that are used in drilling oil and natural gas wells. The muds have…