Let's divide 489815 by 40
We're looking to find how many times 40 goes into 489815.

Let's proceed to step 1:
The number 40 fits into 4 0 times, leaving a remainder of 4.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
If we take 0 away from 4, we end up with 4.
Append the next digit (8) from the dividend to 4 and continue with: 48 / 40

Advancing to step 2:
When dividing 48 by 40, we get 1 with a remainder of 8.
Put 1 as the next digit of the answer. 
Result so far: 1.0
Deduct 40 from 48 and we're left with 8.
Take the next digit (9) from the dividend and append it to 8, then repeat: 89 / 40

Advancing to step 3:
89 divided by 40 is 2 with a remainder of 9.
Write down 2 as next digit of the result. 
Result so far: 12.0
Deduct 80 from 89 and we're left with 9.
Include the next digit (8) from the dividend after 9, then repeat: 98 / 40

Let's proceed to step 4:
98 divided by 40 is 2 with a remainder of 18.
Use 2 as the next digit of our solution. 
Result so far: 122.0
Subtract 80 from 98 to get 18.
Include the next digit (1) from the dividend after 18, then repeat: 181 / 40

Going ahead to step 5:
40 can be fit into 181 4 times, resulting in a remainder of 21.
Record the quotient 4 as the next digit in the result. 
Result so far: 1224.0
Subtract 160 from 181 to get 21.
Include the next digit (5) from the dividend after 21, then repeat: 215 / 40

Moving on to step 6:
40 goes into 215 5 times with a remainder of 15.
Put 5 as the next digit of the answer. 
Result so far: 12245.0
Subtracting 200 from 215 leaves us with 15.
Since there are no more digits in the dividend, we add a zero to the remainder making it 150, and continue the process.

Step 7:
40 can be fit into 150 3 times, resulting in a remainder of 30.
Put 3 as the next digit of the answer. 
Result so far: 12245.3
Subtract 120 from 150 to get 30.
Since there are no more digits in the dividend, we add a zero to the remainder making it 300, and continue the process.

Going ahead to step 8:
40 goes into 300 7 times with a remainder of 20.
Put 7 as the next digit of the answer. 
Result so far: 12245.37
If we take 280 away from 300, we end up 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.

Going ahead to step 9:
200 divided by 40 is 5 with a remainder of 0.
Put 5 as the next digit of the answer. 
Result so far: 12245.375
Subtracting 200 from 200 leaves us with 0.
Since there are no more digits in the dividend, we add a zero to the remainder making it 0, and continue the process.

Step 10:
The number 40 fits into 0 0 times, leaving a remainder of 0.
The next digit of our result is 0. 
Result so far: 12245.375
Deduct 0 from 0 and we're left with 0.
Since there are no more digits in the dividend, we add a zero to the remainder making it 0, and continue the process.

On to step 11:
40 can be fit into 0 0 times, resulting in a remainder of 0.
The number 0 becomes the next digit in our result. 
Result so far: 12245.375
Subtracting 0 from 0 leaves us with 0.
Since there are no more digits in the dividend, we add a zero to the remainder making it 0, and continue the process.

The quotient of the division is 12245.375, and the remainder is 0.0.