Do Not Sell My Personal Information Jump to content


Mathematical Help


Rob
 Share

Recommended Posts

ok eg converting 327, the way i do it might be a bit wierd.....

327/2=163 163x2=326 remainder =1 ( the remainder gives me the binary)

163/2=81 81x2=162 R=1

81/2=40 40x2=80 R=1

40/2=20 20x2=40 R=0

20/2=10 10x2=20 R=0

10/2=5 5x2=10 R=0

5/2=2 2x2=4 R=1

who else knows how to do it this way? if so can u finish the conversion?

Link to comment
Share on other sites

I do it a bit different fella....

Basically, I set up a grid like this:

Now basically make each bit one starting from the left, if they add up to more than the number you're after you know to leave that number as a 0, so we end up with something like this (I didn't start at 512 as we already know that is too big)

256 128  64   32   16    8    4    2    1

1    0    0    0    0    0    0    0    0 = 256 - ok
1    1    0    0    0    0    0    0    0 = 384 - too much
1    0    1    0    0    0    0    0    0 = 320 - ok
1    0    1    1    0    0    0    0    0 = 352 - too much
1    0    1    0    1    0    0    0    0 = 336 - too much
1    0    1    0    0    1    0    0    0 = 328 - too much
1    0    1    0    0    0    1    0    0 = 324 - ok
1    0    1    0    0    0    1    1    0 = 326 - ok
1    0    1    0    0    0    1    1    1 = 327 - bingo :)

So the binary value you're after is 101000111 - is that ok?

Does that make sense?

My MSN is fecked pal

Link to comment
Share on other sites


You were nearly there - just keep going.

To convert numbers from decimal to binary requires successive division.

To manually convert from a decimal to a binary number, start with the decimal number and begin dividing by the binary number base (base "two"). For each step the division results in a remainder of 1, use '1' in that position of the binary number. When the division results in a remainder of 0 instead, use '0' in that position. Stop when the division results in a value of 0. The resulting binary numbers are ordered from right to left.

For example, the decimal number 327 converts to binary as follows:

327 / 2 = 163 remainder 1

163 / 2 = 81 remainder 1

81 / 2 = 40 remainder 1

40 / 2 = 20 remainder 0

20 / 2 = 10 remainder 0

10 / 2 = 5 remainder 0

5 / 2 = 2 remainder 1

2 / 2 = 1 remainder 0

1 / 2 = 0 remainder 1

Therefore the decimal number 327 equals the binary number 101000111.

Link to comment
Share on other sites

Aaah, makes sense now.

Mark D's "successive division" method isn't what I would've used, but looks like a good method. Just get a few practice runs in first to get used to it (checking your answers with Calc or similar) before the exam!

Link to comment
Share on other sites


:lol:

Bugger me after all that too :P

Least you know how to count in binary now, there's a house down here and they have the house number as binary, I thought it was quite clever but I'm just a geek :lol:

Link to comment
Share on other sites

Latest Deals

Lexus Official Store for genuine Lexus parts & accessories

Disclaimer: As the club is an eBay Partner, The club may be compensated if you make a purchase via eBay links

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share






Lexus Owners Club Powered by Invision Community


eBay Disclosure: As the club is an eBay Partner, the club may earn commision if you make a purchase via the clubs eBay links.

DISCLAIMER: Lexusownersclub.co.uk is an independent Lexus forum for owners of Lexus vehicles. The club is not part of Lexus UK nor affiliated with or endorsed by Lexus UK in any way. The material contained in the forums is submitted by the general public and is NOT endorsed by Lexus Owners Club, ACI LTD, Lexus UK or Toyota Motor Corporation. The official Lexus website can be found at http://www.lexus.co.uk
×
  • Create New...