第4章数の表し方と計算
Subtraction in Bases Other Than Base 1010進法以外の進法での引き算
Subtraction in bases other than base 10 follow the same processes as base 10 subtraction, but, as with addition, using the addition table for the base.
英語のヒント
10進法以外の進法での引き算は、10進法の引き算と同じ手順に従うが、足し算と同じように、その進法のたし算の表を使う。
Example 4.34例題 4.34
Subtracting in Base 66進法で引く
Calculate 526 − 346.
英語のヒント
526 − 346を計算せよ。
Solution解答
Step 1: Let’s set up the subtraction using columns.
英語のヒント
手順1:縦にそろえて引き算を書く。
| 5 | 2 | |
| − | 3 | 4 |
Step 2: Just as we might do in base 10, we borrow a 1 from the 5 for the ones digit.
英語のヒント
手順2:10進法でするのとまったく同じように、一の位のために5から1を借りる。
| 12 | ||
| − | 3 | 4 |
Step 3: Referring to the base 6 addition table (Table 4.4), we see that 4 + 4 = 12, so 126 − 46 is 46.
英語のヒント
手順3:6進法のたし算の表(表4.4)を参照すると、4 + 4 = 12なので、126 − 46は46である。
| 12 | ||
| − | 3 | 4 |
| 4 |
Step 4: Now we deal with the “tens” (really, sixes) digit, 46 − 36, which equals 16 according to the base 6 addition table (Table 4.4).
英語のヒント
手順4:次に「十の位」(本当は六の位)の数字、46 − 36を扱う。6進法のたし算の表(表4.4)によれば、これは16に等しい。
| 4 | 12 | |
| − | 3 | 4 |
| 1 | 4 |
So, 526 − 346 = 146.
英語のヒント
よって、526 − 346 = 146。
Example 4.35例題 4.35
Subtracting in Base 1212進法で引く
Calculate A1712 − 4B312.
英語のヒント
A1712 − 4B312.を計算せよ
Solution解答
Step 1: Let’s set up the subtraction using columns.
英語のヒント
手順1:縦にそろえて引き算を書く。
| A | 1 | 7 | |
| − | 4 | B | 3 |
Step 2: Even in base 12, 712 − 312 = 412.
英語のヒント
手順2:12進法でも、712 − 312 = 412である。
| A | 1 | 7 | |
| − | 4 | B | 3 |
| 4 |
Step 3: Moving to the “tens” digit, we have 112 − B12. Since 1 is less than B in base 12, we need to borrow a 1 from the A, just as we would for subtraction in base 10.
英語のヒント
手順3:「十の位」の数字に移ると、112 − B12である。12進法では1はBより小さいので、10進法の引き算でするのとまったく同じように、Aから1を借りる必要がある。
| 9 | 11 | 7 | |
| − | 4 | B | 3 |
| 4 |
Step 4: According to the base 12 addition table in the solution for Example 4.31, B12 + 212 = 1112, so 1112 − B12 = 212.
英語のヒント
手順4:例題4.31の解答にある12進法のたし算の表によれば、B12 + 212 = 1112なので、1112 − B12 = 212である。
| 9 | 11 | 7 | |
| − | 4 | B | 3 |
| 2 | 4 |
Step 5: Finally, we deal with the “hundreds” digit. According to the base 12 addition table in the solution for Example 4.31, 412 + 512 = 912, so 912 − 412 = 512.
英語のヒント
手順5:最後に、「百の位」の数字を扱う。例題4.31の解答にある12進法のたし算の表によれば、412 + 512 = 912なので、912 − 412 = 512である。
| 9 | 11 | 7 | |
| − | 4 | B | 3 |
| 5 | 2 | 4 |
So, A1712 − 4B312 = 52412.
英語のヒント
よって、A1712 − 4B312 = 52412。