A resistor is a passive electronic component that is used to resist the flow of electric current in an electronic circuit. It is a fundamental component that is used in a wide range of electronic devices, from simple circuits to complex systems. The…