Text this: Solution of the mathematical model of a nonlinear direct current circuit using particle swarm optimization