The method to change from other base to the base 10 is
Let the base of the number system be three (3). The symbols used are α, β and γ. Where α < β < γ. β = α + α, γ = β + α. The number system looks like this
In the above table the numbers increase from left to right and from top to bottom. First the numbers increase from left to right then move to one row below. The numbers in each succeeding level is the result of placing one digit before each number of the preceding level. First α is placed then β is placed then γ is placed. First level consists of 3 numbers, second level consists of 9 numbers and nth level consists of 3n numbers. The process to convert the number to base 10 is the same as described above.
You can generate your your number system by this method. The number system may or may not have a zero.
Let us see how the method works for the above number system.
Step 1: The symbols are α, β and γ.
Step 2: α < β < γ.
Step 3: β = α + α, γ = β + α.
Step 4: Generate as in table.
Step 5: 0 is not present.
Let us convert some numbers from base three to base 10 where α=1.
βα = (β×γβ + α×γα)/γ
βα = (2×32 + 1×31)/3
βα = (2×9 + 1×3)/3
βα = 21/3 = 7
γβα = (γ×γγ + β×γβ + α×γα)/γ
γβα = (3×33 + 2×32 + 1×31)/3
γβα = (3×27 + 2×9 + 1×3)/3
γβα = 102/3 = 34
- Take i=1, sum = 0 and the rightmost digit as the first digit
- Repeat each step from 3 to 5 for digits from right to left
- Calculate (ith digit)×(base)i-1 and store in digitvalue.
- Store sum=sum+digitvalue
- i=i+1 if (i+1)th digit from right exist else go to step 6
- The value of the number in base ten is sum.
- Take i=1, sum = nil and the rightmost digit as the first digit
- Repeat each step from 3 to 5 for digits from right to left
- Calculate (ith digit)×(base)i and store in digitvalue.
- Store sum=sum+digitvalue
- i=i+1 if (i+1)th digit from right exist else go to step 6
- The value of the number in base ten is sum/base.
Let the base of the number system be three (3). The symbols used are α, β and γ. Where α < β < γ. β = α + α, γ = β + α. The number system looks like this
⇒ | ||||
---|---|---|---|---|
⇓ | Level 1 | α | β | γ |
Level 2 | αα | αβ | αγ | |
βα | ββ | βγ | ||
γα | γβ | γγ | ||
Level 3 | ααα | ααβ | ααγ | |
αβα | αββ | αβγ | ||
αγα | αγβ | αγγ | ||
βαα | βαβ | βαγ | ||
ββα | βββ | ββγ | ||
βγα | βγβ | βγγ | ||
γαα | γαβ | γαγ | ||
γβα | γββ | γβγ | ||
γγα | γγβ | γγγ | ||
Level 4 | αααα | αααβ | αααγ | |
so.on. |
In the above table the numbers increase from left to right and from top to bottom. First the numbers increase from left to right then move to one row below. The numbers in each succeeding level is the result of placing one digit before each number of the preceding level. First α is placed then β is placed then γ is placed. First level consists of 3 numbers, second level consists of 9 numbers and nth level consists of 3n numbers. The process to convert the number to base 10 is the same as described above.
You can generate your your number system by this method. The number system may or may not have a zero.
- Choose the symbols.
- Define the law of precedence.
- Describe the step size or relation between symbols.
- Generate the number system in levels.
- If the number contains zero. The first series in each level is same as the level before. Remove it.
Let us see how the method works for the above number system.
Step 1: The symbols are α, β and γ.
Step 2: α < β < γ.
Step 3: β = α + α, γ = β + α.
Step 4: Generate as in table.
Step 5: 0 is not present.
Let us convert some numbers from base three to base 10 where α=1.
βα = (β×γβ + α×γα)/γ
βα = (2×32 + 1×31)/3
βα = (2×9 + 1×3)/3
βα = 21/3 = 7
γβα = (γ×γγ + β×γβ + α×γα)/γ
γβα = (3×33 + 2×32 + 1×31)/3
γβα = (3×27 + 2×9 + 1×3)/3
γβα = 102/3 = 34
No comments:
Post a Comment