division of m by n with m < n (natural numbers in base ten) and result in a base of your choice By clicking [one step] you gradually get the figures of the result m = n = base = |
division of m by n with m < n (natural numbers in base ten) and result in a base of your choice By clicking [one step] you gradually get the figures of the result m = n = base = |
3/7 di ora sono 25' 43" infatti il programma fornisce: base 60; 3/7 = 0 . 25 42 51 25 42 51 25 42 ...
Some other examples:
• the result of 2/3 (in base ten) is (in base two) 0.101010 ; the remainders are 2, 1, 2, 1,
2 | 3 0 |---- --| 0. 2 2 | 3 0 |---- --| 0.1 2*2=4 3 -- 1 2 | 3 0 |---- --| 0.10 2*2=4 3 -- 1*2=2 0 -- 2 2 | 3 0 |---- --| 0.101 2*2=4 3 -- 1*2=2 0 -- 2*2=4 3 -- 1
• the result of 2/3 (in base ten) is (in base sixty) 0.(40)000 ; the remainders are 2, 0, 0, 0,
2 | 3 0 |---- --| 0. 2 2 | 3 0 |---- --| 0.(40) 2*60=120 120 --- 0
• the result of 1/10 (in base ten) is (in base two) 0.000110011001100 ; the remainders are 1, 2, 4, 8, 6, 2, 4, 8,
1 | 10
0 |----
--| 0.
1
1 | 10
0 |----
--| 0.0
1*2=2
0
--
2
1 | 10
0 |----
--| 0.00
1*2=2
0
--
2*2=4
0
--
4
1 | 10
0 |----
--| 0.000
1*2=2
0
--
2*2=4
0
--
4*2=8
0
--
8
1 | 10
0 |----
--| 0.0001
1*2=2
0
--
2*2=4
0
--
4*2=8
0
--
8*2=16
10
--
6
1 | 10
0 |----
--| 0.00011
1*2=2
0
--
2*2=4
0
--
4*2=8
0
--
8*2=16
10
--
6*2=12
10
--
2
1 | 10
0 |----
--| 0.000110
1*2=2
0
--
2*2=4
0
--
4*2=8
0
--
8*2=16
10
--
6*2=12
10
--
2*2=4
0
--
4
1 | 10
0 |----
--| 0.0001100 11001100...
1*2=2
0
--
2*2=4
0
--
4*2=8
0
--
8*2=16
10
--
6*2=12
10
--
2*2=4
0
--
4*2=8
0
--
8 etc.