Study of electrical R-L circuits composed of resistors and inductors and driven by a voltage of the current source: Simulation with implementing an accurate method