We're dividing 79889 by 40 
We're looking to find how many times 40 goes into 79889.

Moving on to step 1:
40 can be fit into 7 0 times, resulting in a remainder of 7.
Put 0 as the next digit of the answer. 
Result so far: 0.0
Subtract 0 from 7 to get 7.
Take the next digit (9) from the dividend and append it to 7, then repeat: 79 / 40

Step 2:
40 can be fit into 79 1 times, resulting in a remainder of 39.
The next digit of our result is 1. 
Result so far: 1.0
The remainder is 39 after subtracting 40 from 79.
Append the next digit (8) from the dividend to 39 and continue with: 398 / 40

Let's proceed to step 3:
40 can be fit into 398 9 times, resulting in a remainder of 38.
The number 9 becomes the next digit in our result. 
Result so far: 19.0
Subtract 360 from 398 to get 38.
Include the next digit (8) from the dividend after 38, then repeat: 388 / 40

Step 4:
40 can be fit into 388 9 times, resulting in a remainder of 28.
The next digit of our result is 9. 
Result so far: 199.0
If we take 360 away from 388, we end up with 28.
Grab the next digit (9) from the dividend, add it to 28, then carry on: 289 / 40

Moving on to step 5:
When dividing 289 by 40, we get 7 with a remainder of 9.
Write down 7 as next digit of the result. 
Result so far: 1997.0
Deduct 280 from 289 and we're left with 9.
Since there are no more digits in the dividend, we add a zero to the remainder making it 90, and continue the process.

Going ahead to step 6:
When dividing 90 by 40, we get 2 with a remainder of 10.
The next digit of our result is 2. 
Result so far: 1997.2
Subtract 80 from 90 to get 10.
Since there are no more digits in the dividend, we add a zero to the remainder making it 100, and continue the process.

Going ahead to step 7:
40 goes into 100 2 times with a remainder of 20.
Put 2 as the next digit of the answer. 
Result so far: 1997.22
Subtracting 80 from 100 leaves us with 20.
Since there are no more digits in the dividend, we add a zero to the remainder making it 200, and continue the process.

In conclusion, the division gives 1997.22 with a balance of 0.02.