7 | 25 | 3 | 8 | :2 | 0 | 0 | 0 | |||

7 | 4 | 8 | 11 | 7 | 7 | 7 | ||||

-21 | -14 | -63 | -42 | -21 | 42 | |||||

22 | 74 | 49 | 28 | 49 | 28 | |||||

3 | 2 | 9 | 6 | 3 | 6 | 3 | ||||

Quotient |

Case 3: Division with adjustments.

Steps:

1.) Place a colon one digit from the right (= number of digits of flag)

2.) Divide 25 by 7 to get quotient as 3 and remainder as 4.

3.) Carry the remainder 4 to the next digit 3 and get 43 as gross dividend.

4.) Multiply the quotient 3 by the flag to get 21 and substract it from 43 to get 22 as net dividend.

5.) Divide 22 by 7 to get quotient as 3 and remainder as 1.

6.) Carry the remainder 1 to the next digit 8 and get 18 as gross dividednd.

7.) Multiply the quotient 3 by 7 to get 21 and subtract it from 18 to get -3 as net dividend.

8.) Now we have a negative net dividend.The process cannot go further with this. so we have to make an adjustment.

9.) We will go one step backward and instead of writing the quotient as 3 while dividing 22 by 7 we will write down only 2 as the quotient and carry forward a bigger remainder of 8 (i.e. 22-2x7).

10.) Carry the remainder 8 to the next digit 8 and get 88 as gross dividend

11.) Multiply the quotient 2 by the flag 7 to get 14 and substract it from 88 to get 74 as net dividend which is now positive.

Carry out the process in the remaining columns, making an adjustment whenever the net divident is negative.

The final answer is 329 and remainder 49 or in decimal form, it is 329.6363.