Subtracting Ri from both sides:

RL2

Divide both sides by L:

RL3

Multiply both sides by dt and divide both by (V - Ri):

RL4

Integrate (see Integration: Basic Logarithm Form):

RL5

RL6

Now, since i = 0 when t = 0, we have:

RL7

Substituting K back into our expression:

RL7

Rearranging:

RL7

Multiplying throughout by -R:

RL7

Collecting the logarithm parts together:

RL7

Taking e to both sides:

RL7

RL7

Subtracting 1 from both sides:

RL7

Multiplying both sides by -(V/R):

RL7