We're dividing 789401 by 45 
Our goal is to divide 789401 by 45.

Moving on to step 1:
7 divided by 45 is 0 with a remainder of 7.
Write down 0 as next digit of the result. 
Result so far: 0.0
If we take 0 away from 7, we end up with 7.
Include the next digit (8) from the dividend after 7, then repeat: 78 / 45

Going ahead to step 2:
When dividing 78 by 45, we get 1 with a remainder of 33.
The number 1 becomes the next digit in our result. 
Result so far: 1.0
The remainder is 33 after subtracting 45 from 78.
Include the next digit (9) from the dividend after 33, then repeat: 339 / 45

Step 3:
If we divide 339 by 45, we get 7 and a remainder of 24.
The number 7 becomes the next digit in our result. 
Result so far: 17.0
If we subtract 315 from 339, we get 24.
Bring next digit (4) of the dividend behind the 24 and repeat the process: 244 / 45

Moving on to step 4:
If we divide 244 by 45, we get 5 and a remainder of 19.
The number 5 becomes the next digit in our result. 
Result so far: 175.0
If we take 225 away from 244, we end up with 19.
Grab the next digit (0) from the dividend, add it to 19, then carry on: 190 / 45

Let's proceed to step 5:
190 divided by 45 is 4 with a remainder of 10.
The next digit of our result is 4. 
Result so far: 1754.0
Subtract 180 from 190 to get 10.
Fetch the next digit (1) from the dividend, attach it to 10 and continue: 101 / 45

On to step 6:
45 can be fit into 101 2 times, resulting in a remainder of 11.
Put 2 as the next digit of the answer. 
Result so far: 17542.0
Deduct 90 from 101 and we're left with 11.
Since there are no more digits in the dividend, we add a zero to the remainder making it 110, and continue the process.

On to step 7:
45 can be fit into 110 2 times, resulting in a remainder of 20.
The next digit of our result is 2. 
Result so far: 17542.2
Subtracting 90 from 110 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.

Let's proceed to step 8:
If we divide 200 by 45, we get 4 and a remainder of 20.
The number 4 becomes the next digit in our result. 
Result so far: 17542.24
The remainder is 20 after subtracting 180 from 200.
Since there are no more digits in the dividend, we add a zero to the remainder making it 200, and continue the process.

Let's proceed to step 9:
The number 45 fits into 200 4 times, leaving a remainder of 20.
The next digit of our result is 4. 
Result so far: 17542.244
Deduct 180 from 200 and we're left 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.

The final result is 17542.244 with a remainder of 0.002.