Simple electric circuits with resistors