RT : The function of a system is its output. If you have dog grooming machine that sometimes smashes puppies and you keep run…