Camaro5 Chevy Camaro Forum / Camaro ZL1, SS and V6 Forums - Camaro5.com
 
Vararam
Go Back   Camaro5 Chevy Camaro Forum / Camaro ZL1, SS and V6 Forums - Camaro5.com > Members Area > Off-topic Discussions

Reply
 
Thread Tools
Old 08-09-2007, 07:31 PM   #29
Mindz
E.B.A.H.
 
Mindz's Avatar
 
Drives: you wild...
Join Date: Mar 2007
Location: In the happy padded room wearing a jacket that makes me hug myself...
Posts: 18,421
Merf, he's trying to learn binary and hex simultaneously. Pick on and stick with it. He'll get it better.
__________________
Blue Rush, 2010 SS [Car of the Week 3/22/2010] Traded in on...ZLZBUBB, 2013 ZL1
Mindz is offline   Reply With Quote
Old 08-09-2007, 08:51 PM   #30
MerF
Go Rays!
 
MerF's Avatar
 
Drives: 03 Trailblazer
Join Date: May 2007
Location: St Pete, Florida
Posts: 2,533
Quote:
Originally Posted by Dragoneye View Post
Okay, teacher, I still don't quite get this part. How do you get 128 out of 10111001, or 64 out of 10111001?


What do you teach, btw?
To put it simply, I teach electronics theory and maintenance to young sailors in the Navy.

Let's learn binary...once you get binary, you can get the rest from that.

Each digit of a binary value represents a value in decimal. Since there are only ones and zeros, the binary number gets pretty big pretty quickly. The way to determine what the binary number is "worth", is to see what each digit represents and add all the "1"s together.

Because, starting with the right-most digit, you double it's value. For example:

0000 = 0
0001 = 1 (the far-right digit is ALWAYS a 1!)
0010 = 2 (the second-from-the-right is ALWAYS WORTH 2, because I DOUBLED THE "1"!)
0011 = 3 (add BOTH VALUES TOGETHER [1+2] = 3!!!)
0100 = 4 (Double the value of the previous digit to get this value...2x2=4!!)
0101 = 5 (The "4" and the "1" digits are SET (1's) so we ADD THEM TOGETHER!)
0110 = 6 (The "4" and the "2" are now set (1's) so we ADD THEM TOGETHER!)

This goes on forever and always, the cycle never ever ends or changes.

So for my example I gave, 10111001...
Starting from the FAR RIGHT...so backwards from what you have always done in the past, I add together all the values that are "1", but don't forget to still double the count every single digit, even if it's a ZERO.

Sooo:

1+(skip 2 & 4, because they are "0")+8+16+32+(skip 64)+128 = THE DECIMAL VALUE OF THE BINARY NUMBER

I love being geeky.
MerF is offline   Reply With Quote
Old 08-09-2007, 09:12 PM   #31
Mindz
E.B.A.H.
 
Mindz's Avatar
 
Drives: you wild...
Join Date: Mar 2007
Location: In the happy padded room wearing a jacket that makes me hug myself...
Posts: 18,421
With binary you'll get some huge numbers when you get up there, so the hex is basically a condensed version of binary. But binary is the basis for it.
__________________
Blue Rush, 2010 SS [Car of the Week 3/22/2010] Traded in on...ZLZBUBB, 2013 ZL1
Mindz is offline   Reply With Quote
Old 08-09-2007, 09:33 PM   #32
Mr. Wyndham
I used to be Dragoneye...
 
Mr. Wyndham's Avatar
 
Drives: 2018 ZL1 1LE
Join Date: Jan 2007
Location: Buffalo, NY
Posts: 31,876
Send a message via AIM to Mr. Wyndham
Quote:
Originally Posted by MerF View Post
To put it simply, I teach electronics theory and maintenance to young sailors in the Navy.

Let's learn binary...once you get binary, you can get the rest from that.

Each digit of a binary value represents a value in decimal. Since there are only ones and zeros, the binary number gets pretty big pretty quickly. The way to determine what the binary number is "worth", is to see what each digit represents and add all the "1"s together.

Because, starting with the right-most digit, you double it's value. For example:

0000 = 0
0001 = 1 (the far-right digit is ALWAYS a 1!)
0010 = 2 (the second-from-the-right is ALWAYS WORTH 2, because I DOUBLED THE "1"!)
0011 = 3 (add BOTH VALUES TOGETHER [1+2] = 3!!!)
0100 = 4 (Double the value of the previous digit to get this value...2x2=4!!)
0101 = 5 (The "4" and the "1" digits are SET (1's) so we ADD THEM TOGETHER!)
0110 = 6 (The "4" and the "2" are now set (1's) so we ADD THEM TOGETHER!)

This goes on forever and always, the cycle never ever ends or changes.

So for my example I gave, 10111001...
Starting from the FAR RIGHT...so backwards from what you have always done in the past, I add together all the values that are "1", but don't forget to still double the count every single digit, even if it's a ZERO.

Sooo:

1+(skip 2 & 4, because they are "0")+8+16+32+(skip 64)+128 = THE DECIMAL VALUE OF THE BINARY NUMBER

I love being geeky.
Ohhhhhh....I get it now. Cool.
Every space to the right of - let's call it - digit X is 2X...


I swear, I'm doing this on my own, no MerF-cross-copying.

Quote:
Originally Posted by Mindz
ok, now, work this out in decimal.

4A7
1=0001
2=0010
3=0011
4=0100
5=0101
6=0110
7=0111 (not 1000)
8=1000
9=1001
10=1010
11=1011
12=1100
13=1101
14=1110
15=1111
16=10000


4= 0100
A=10=1010
7=0111

add them together: 010010100111 (IS THIS RIGHT?)

1+2+4+(8=0)+(16=0)+32+(64=0)+128+1024+(2064=0)

which all together equals: 1191


Soooo 4A7 in Hex code, converts to 1191 in decimal...or 010010100111 in binary...YEAH!!! I THINK I GOT IT!!!

Thanks guys! I know get the gist one more useless topic
__________________
"Keep the faith." - Fbodfather
Mr. Wyndham is offline   Reply With Quote
Old 08-09-2007, 09:45 PM   #33
Mindz
E.B.A.H.
 
Mindz's Avatar
 
Drives: you wild...
Join Date: Mar 2007
Location: In the happy padded room wearing a jacket that makes me hug myself...
Posts: 18,421
Now you can count on your hands and flip someone off while couning to four or five. Palm facing you with a closed fist.

all fingers down = 0
thumb out = 1
index up, thumb in = 2
index and thumb out = 3
middle finger up = 4
middle finger and thumb = 5.

etc.
__________________
Blue Rush, 2010 SS [Car of the Week 3/22/2010] Traded in on...ZLZBUBB, 2013 ZL1
Mindz is offline   Reply With Quote
Old 08-09-2007, 10:34 PM   #34
Mr. Wyndham
I used to be Dragoneye...
 
Mr. Wyndham's Avatar
 
Drives: 2018 ZL1 1LE
Join Date: Jan 2007
Location: Buffalo, NY
Posts: 31,876
Send a message via AIM to Mr. Wyndham
Hey, that can be our cult hand signal; "5". Middle finger, and thumb..
__________________
"Keep the faith." - Fbodfather
Mr. Wyndham is offline   Reply With Quote
Old 08-09-2007, 11:15 PM   #35
Mindz
E.B.A.H.
 
Mindz's Avatar
 
Drives: you wild...
Join Date: Mar 2007
Location: In the happy padded room wearing a jacket that makes me hug myself...
Posts: 18,421
Quote:
Originally Posted by Dragoneye View Post
Hey, that can be our cult hand signal; "5". Middle finger, and thumb..

Yeah, if I ever make it out to NY again, we'll fit in with the east coast stereotype.
__________________
Blue Rush, 2010 SS [Car of the Week 3/22/2010] Traded in on...ZLZBUBB, 2013 ZL1
Mindz is offline   Reply With Quote
Old 08-10-2007, 12:03 AM   #36
Mr. Wyndham
I used to be Dragoneye...
 
Mr. Wyndham's Avatar
 
Drives: 2018 ZL1 1LE
Join Date: Jan 2007
Location: Buffalo, NY
Posts: 31,876
Send a message via AIM to Mr. Wyndham
Hey, Yo!
__________________
"Keep the faith." - Fbodfather
Mr. Wyndham is offline   Reply With Quote
Old 08-10-2007, 10:18 AM   #37
MerF
Go Rays!
 
MerF's Avatar
 
Drives: 03 Trailblazer
Join Date: May 2007
Location: St Pete, Florida
Posts: 2,533
Yay Dragon! You doooood it!
MerF is offline   Reply With Quote
Old 08-10-2007, 10:42 AM   #38
Mr. Wyndham
I used to be Dragoneye...
 
Mr. Wyndham's Avatar
 
Drives: 2018 ZL1 1LE
Join Date: Jan 2007
Location: Buffalo, NY
Posts: 31,876
Send a message via AIM to Mr. Wyndham
Thanks to you and Mindz, Professor!
__________________
"Keep the faith." - Fbodfather
Mr. Wyndham is offline   Reply With Quote
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -5. The time now is 01:57 AM.


Powered by vBulletin® Version 3.8.9 Beta 4
Copyright ©2000 - 2024, vBulletin Solutions, Inc.