Results 1 to 11 of 11
Like Tree9Thanks
  • 1 Post By Plato
  • 1 Post By Prove It
  • 1 Post By ibdutt
  • 1 Post By Prove It
  • 1 Post By HallsofIvy
  • 2 Post By Prove It
  • 1 Post By Soroban
  • 1 Post By HallsofIvy

Math Help - Conversion from decimal to hexadecimal

  1. #1
    Junior Member
    Joined
    Feb 2013
    From
    Charlotte, NC
    Posts
    50

    Conversion from decimal to hexadecimal

    How do I convert 2,000 from decimal to hexadecimal?
    Follow Math Help Forum on Facebook and Google+

  2. #2
    MHF Contributor

    Joined
    Aug 2006
    Posts
    18,605
    Thanks
    1574
    Awards
    1

    Re: Conversion from decimal to hexadecimal

    Quote Originally Posted by Civy71 View Post
    How do I convert 2,000 from decimal to hexadecimal?
    USE THE WEB. See this webpage.
    Thanks from topsquark
    Follow Math Help Forum on Facebook and Google+

  3. #3
    MHF Contributor
    Prove It's Avatar
    Joined
    Aug 2008
    Posts
    11,407
    Thanks
    1294

    Re: Conversion from decimal to hexadecimal

    Quote Originally Posted by Civy71 View Post
    How do I convert 2,000 from decimal to hexadecimal?
    It helps if you think of the columns in your hexadecimal number as powers of 16, so your first digit will represent how many lots of \displaystyle \begin{align*} 16^0 \end{align*}, the second digit will represent how many lots of \displaystyle \begin{align*} 16^1 \end{align*}, the third digit will represent how many lots of \displaystyle \begin{align*} 16^2 \end{align*}, etc. Notice that \displaystyle \begin{align*} 16^2 = 256 \end{align*} and \displaystyle \begin{align*} 16^3 = 4069 \end{align*}, so that means in hexadecimal your number can only have three digits.

    Now notice that \displaystyle \begin{align*} \frac{2000}{16^2} = 7\,\frac{208}{16^2} \end{align*}, so your \displaystyle \begin{align*} 16^2 \end{align*} digit is \displaystyle \begin{align*} 7 \end{align*}. You are left with \displaystyle \begin{align*} 208 \end{align*}.

    Now notice that \displaystyle \begin{align*} \frac{208}{16} = 13 \end{align*}, so your \displaystyle \begin{align*} 16^1 \end{align*} digit will have to be a \displaystyle \begin{align*} d \end{align*} (which is the 13th digit).

    Since there is no remainder, your \displaystyle \begin{align*} 16^0 \end{align*} term has to be \displaystyle \begin{align*} 0 \end{align*}.


    Therefore \displaystyle \begin{align*} 2000_{10} = 7d0_{16} \end{align*}.
    Thanks from topsquark
    Follow Math Help Forum on Facebook and Google+

  4. #4
    Super Member
    Joined
    Jul 2012
    From
    INDIA
    Posts
    826
    Thanks
    209

    Re: Conversion from decimal to hexadecimal

    Thanks from topsquark
    Follow Math Help Forum on Facebook and Google+

  5. #5
    Newbie
    Joined
    May 2013
    From
    London
    Posts
    12

    Re: Conversion from decimal to hexadecimal

    below he shoe all the conversion of decimal to hexadecimal. i am also confusing about this problem thanks for solving......
    Follow Math Help Forum on Facebook and Google+

  6. #6
    Newbie
    Joined
    Jun 2013
    From
    New York
    Posts
    4

    Re: Conversion from decimal to hexadecimal

    16^3 = 4096, which is too big

    16^2 = 256, which is smaller than 2000, so divide 2000 by 256
    Follow Math Help Forum on Facebook and Google+

  7. #7
    MHF Contributor
    Prove It's Avatar
    Joined
    Aug 2008
    Posts
    11,407
    Thanks
    1294

    Re: Conversion from decimal to hexadecimal

    Quote Originally Posted by Julian21 View Post
    16^3 = 4096, which is too big

    16^2 = 256, which is smaller than 2000, so divide 2000 by 256
    Is this not exactly what I posted in my previous post?
    Thanks from topsquark
    Follow Math Help Forum on Facebook and Google+

  8. #8
    MHF Contributor

    Joined
    Apr 2005
    Posts
    15,409
    Thanks
    1328

    Re: Conversion from decimal to hexadecimal

    16 divides into 2600 121 times with remainder 0. That means that 2600= 121(16)+ 0.
    16 divides into 121 7 times with remainder 9. That means that 121= 7(16)+ 9.

    Putting those together 2600= (7(16)+ 9)(16)+ 0= 7(16)^2+ 9(16)+ 0 so 2600 base 10 is 790 base 16.
    Thanks from topsquark
    Follow Math Help Forum on Facebook and Google+

  9. #9
    MHF Contributor
    Prove It's Avatar
    Joined
    Aug 2008
    Posts
    11,407
    Thanks
    1294

    Re: Conversion from decimal to hexadecimal

    Quote Originally Posted by HallsofIvy View Post
    16 divides into 2600 121 times with remainder 0. That means that 2600= 121(16)+ 0.
    16 divides into 121 7 times with remainder 9. That means that 121= 7(16)+ 9.

    Putting those together 2600= (7(16)+ 9)(16)+ 0= 7(16)^2+ 9(16)+ 0 so 2600 base 10 is 790 base 16.
    I'm not sure why you posted this, the number the OP was trying to convert was 2000, not 2600...

    Also, your answer can not possibly be right, as 2000 in hexadecimal is 7d0, and 2600 is greater than this, yet you have gotten 790 in hexadecimal which is smaller...
    Thanks from topsquark and HallsofIvy
    Follow Math Help Forum on Facebook and Google+

  10. #10
    Super Member

    Joined
    May 2006
    From
    Lexington, MA (USA)
    Posts
    11,686
    Thanks
    617

    Re: Conversion from decimal to hexadecimal

    Hello, Civy71!

    How do I convert 2,000 from decimal to hexadecimal?

    There is an algorithm which no one has mentioned.

    [1] Divide the number by the base. .Note the quotient and remainder.

    [2] Divide the quotient by the base. .Note the quotient and remainder.

    [3] Repeat step [2] until the zero quotient is attained.

    [4] Read up the remainders.


    . . \begin{array}{cccccc} 2000 \div 16 &=& 125 & \text{rem. }0 \\ 125 \div 16 &=& 7 & \text{rem. }13 \\ 7 \div 16 &=& 0 & \text{rem. }7 \end{array}\begin{array}{c}\uparrow \\ \uparrow \end{array}

    Therefore: . 2000_{10} \;=\;7D0_{16}
    Thanks from topsquark
    Follow Math Help Forum on Facebook and Google+

  11. #11
    MHF Contributor

    Joined
    Apr 2005
    Posts
    15,409
    Thanks
    1328

    Re: Conversion from decimal to hexadecimal

    Quote Originally Posted by Prove It View Post
    I'm not sure why you posted this, the number the OP was trying to convert was 2000, not 2600...

    Also, your answer can not possibly be right, as 2000 in hexadecimal is 7d0, and 2600 is greater than this, yet you have gotten 790 in hexadecimal which is smaller...
    One of these days, I really need to learn arithmetic!
    Thanks from topsquark
    Follow Math Help Forum on Facebook and Google+

Similar Math Help Forum Discussions

  1. Hexadecimal multiplication
    Posted in the Advanced Math Topics Forum
    Replies: 0
    Last Post: February 21st 2011, 10:12 PM
  2. Division of a hexadecimal number by another
    Posted in the Number Theory Forum
    Replies: 7
    Last Post: August 22nd 2010, 10:17 AM
  3. Decimal to Binary conversion
    Posted in the Number Theory Forum
    Replies: 2
    Last Post: November 3rd 2009, 10:22 AM
  4. Converting to decimal and hexadecimal
    Posted in the Math Topics Forum
    Replies: 2
    Last Post: September 1st 2008, 11:03 AM
  5. conversion of a decimal
    Posted in the Math Topics Forum
    Replies: 3
    Last Post: March 5th 2008, 03:58 AM

Search Tags


/mathhelpforum @mathhelpforum