Determine the number of pigs that can be housed in a pigsty measuring 5.0 m…