Laws of Robotics are a set of laws, rules, or principles, which are intended as a fundamental framework to underpin…