Ask Experts Questions for FREE Help!
Answer   ||    Advanced Search

Ask your question or search...
International Sites: Nederlandse experts vragen
User Name 
Password 
Join   Forgot password? 

Home > Science > Mathematics   »   Converting base?

Question
 
 
#1  
Old Oct 15, 2009, 06:57 PM
none12345's Avatar
none12345
Ultra Member
none12345 is offline
 
Join Date: Mar 2009
Location: Maple, Ontario, Canada
Posts: 1,223
none12345 See this member's comment history on his/her Profile page.none12345 See this member's comment history on his/her Profile page.
Converting base?

Hello guys i was just wondering, how do you convert a base 8 to base 12?

For example converting (13.57)base 8 into a number in base 12?

Reply With Quote
 
     

Answers
 
 
Old Oct 15, 2009, 07:08 PM   #2  
Über Member
Stratmando is offline
 
Stratmando's Avatar
 
Join Date: May 2007
Location: Florida Keys
Posts: 6,265
Stratmando See this member's comment history on his/her Profile page.Stratmando See this member's comment history on his/her Profile page.Stratmando See this member's comment history on his/her Profile page.
Let me know if this helps:
Base-N Calculator
  Reply With Quote
 
     
 
 
Old Oct 15, 2009, 08:27 PM   #3  
Ultra Member
none12345 is offline
 
none12345's Avatar
 
Join Date: Mar 2009
Location: Maple, Ontario, Canada
Posts: 1,223
none12345 See this member's comment history on his/her Profile page.none12345 See this member's comment history on his/her Profile page.
Quote:
Originally Posted by Stratmando View Post
Let me know if this helps:
Base-N Calculator
Thanks Strat. It helps but i kinda need to know how to do the process for my test lol.
  Reply With Quote
 
     
 
 
Old Oct 16, 2009, 10:11 AM   #4  
Ultra Member
ebaines is offline
 
Join Date: Apr 2007
Location: Illinois, US
Posts: 3,766
ebaines See this member's comment history on his/her Profile page.ebaines See this member's comment history on his/her Profile page.ebaines See this member's comment history on his/her Profile page.ebaines See this member's comment history on his/her Profile page.
The process is easiest if you first convert from base 8 to base 10, then convert that number from base 10 to base 12.

So first convert the original number from base 8 to base 10.

Since this is a homework problem, I won't solve this exact problem for you, but I will show how to do a similar type of problem. Suppose you want to convert 26.52 (base 8) to base 12. Now 26.52 (base 8) means you have: 2 in the 8's column, plus 6 in the units column plus 5 in the 1/8 column, plus 2 in the (1/8)^2 column, for a total of 2*8 + 6 + 5/8 + 2/64 = 22 + 42/64. I trust that you know why we use these particular values of 8, 1, 1/8, 164, etc when talking about base 8, right?

Now we need to convert 22+42/64 to base 12. Note that 22 is greater than 12 and less than 12^2, so that means we know that the greatest significant digit will be in the 12's column. Sart by determining the largest possible number of 12's that divides into 22 + 42/64; this will be the digit for the 12's column. Clearly this is '1',' since you can divide 12 into 22 + 42/64 only once. So the most significant digit of our answer is '1.' Then we subtract 12 times this number and continue with the 1's column. Subtracting 1*12 from 22 + 42/64 yields 10+42/64. Now we know that the digit for the 1's column is 10 - but hold on, how do you express '10' as a single digit? By convention when working in bases > 10 we use the letters A, B, C, etc as a single-digit representation of base 10 equivalents for 10, 11, 12, etc. Thus 10 (base 10) expressed in base 12 is 'A'. So the digit for the 1's column is 'A.' Thus so far we have "'1A" in base 12. Next step is to subtract 10 from the number we were just working with: 10 + 42/64 - 10*1 = 42/64. This is less than one, so we know we need a decimal point here. Next step is to determine the digit for the 1/12 column - determine how many times 1/12 divides into 42/64, and the answer to that is 7 with a remainder of 14/192. Hence so far we have 1A.7 +14/192. And keep going - for the next digit how many times does (1/12)^2 go into 14/192? The answer is 10 - recall that we represent this as A - with a remainder of 2/576. So now we are up to 1A.7A in base 12. We're getting close to the end now - how many times does (1/12)^3 divide into 2/576? The answer is 6, with no remainder (hooray!). So, the final answer is 1A.7A6.

I trust this process was reasonably clear. There are some short cuts you can use if the base you're converting to is a nice multiple of the base you started from - for example, it's really quite easy to convert base 2 directly to base 8 without doing the base 10 conversion. But in general I find it easiest to go to base 10 first.

Post back and let us know what you get for an answer to your homework problem.

Comments on this post
Perito agrees: I also go through base 10. It's much simpler.
none12345 agrees: lol thanks. A little too late for the homework but i have a feeling its gonna be on the exam O_O
  Reply With Quote
 
     

Your Answer
Email me when someone replies to my answer
Join Login



Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes
Ask your question or search...



Similar Threads
converting to base board heating
(1 replies)
Converting 220 to 110
(5 replies)
dry laid Flagstone: sub-base only, or sub-base and base?
(1 replies)
converting m4v
(2 replies)
gold base and blue base hair color
(1 replies)

Thread Tools
Show Printable Version Show Printable Version
Email this Page Email this Page
Search this Thread

Advanced Search

Bookmarks





Copyright ©2003 - 2009, Ask Me Help Desk.
All times are GMT -8. The time now is 01:27 PM.