48587 ÷ 40 
We want to divide 48587 by 40.

Moving on to step 1:
If we divide 4 by 40, we get 0 and a remainder of 4.
Write down 0 as next digit of the result. 
Result so far: 0.0
If we take 0 away from 4, we end up with 4.
Take the next digit (8) from the dividend and append it to 4, then repeat: 48 / 40

Advancing to step 2:
48 divided by 40 is 1 with a remainder of 8.
Use 1 as the next digit of our solution. 
Result so far: 1.0
If we subtract 40 from 48, we get 8.
Grab the next digit (5) from the dividend, add it to 8, then carry on: 85 / 40

Going ahead to step 3:
When dividing 85 by 40, we get 2 with a remainder of 5.
The next digit of our result is 2. 
Result so far: 12.0
If we subtract 80 from 85, we get 5.
Grab the next digit (8) from the dividend, add it to 5, then carry on: 58 / 40

Step 4:
40 goes into 58 1 times with a remainder of 18.
The number 1 becomes the next digit in our result. 
Result so far: 121.0
Subtract 40 from 58 to get 18.
Append the next digit (7) from the dividend to 18 and continue with: 187 / 40

On to step 5:
40 can be fit into 187 4 times, resulting in a remainder of 27.
The number 4 becomes the next digit in our result. 
Result so far: 1214.0
Deduct 160 from 187 and we're left with 27.
Since there are no more digits in the dividend, we add a zero to the remainder making it 270, and continue the process.

Going ahead to step 6:
The number 40 fits into 270 6 times, leaving a remainder of 30.
The number 6 becomes the next digit in our result. 
Result so far: 1214.6
If we subtract 240 from 270, we 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.

Step 7:
The number 40 fits into 300 7 times, leaving a remainder of 20.
The next digit of our result is 7. 
Result so far: 1214.67
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.

Moving on to step 8:
If we divide 200 by 40, we get 5 and a remainder of 0.
The next digit of our result is 5. 
Result so far: 1214.675
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.

Let's proceed to step 9:
When dividing 0 by 40, we get 0 with a remainder of 0.
Record the quotient 0 as the next digit in the result. 
Result so far: 1214.675
Subtract 0 from 0 to get 0.
Since there are no more digits in the dividend, we add a zero to the remainder making it 0, and continue the process.

Advancing to step 10:
When dividing 0 by 40, we get 0 with a remainder of 0.
Use 0 as the next digit of our solution. 
Result so far: 1214.675
If we subtract 0 from 0, we get 0.
Since there are no more digits in the dividend, we add a zero to the remainder making it 0, and continue the process.

After the division, we end up with 1214.675 and a remainder of 0.0.