A change in resistance with change in humidity is taken as a measure of humidity. This is type of Electrical…