Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

Digital Literacy Computer Basics Computer Basics Binary

Just to test if am understanding the math behind this... 01001011 = 75? :|?

Just to test if am understanding the math behind this... 01001011 = 75?...If it is not correct just explain it to me in the most simplest way you can :) Thank you.

yes am understand

2 Answers

Amrinder Dhindsa
Amrinder Dhindsa
11,204 Points

Yes, you are right.

The binary 01001011 translates to - (2^7 X 0) + (2^6 X 1) + (2^5 X 0) + (2^4 X 0) + (2^3 X 1) + (2^2 X 0) + (2^1 X 1) + (2^0 X 1) = 0 + 64 + 0 + 0 + 8 + 0 + 2 + 1 = 75

Here is a link with more detail.

Thank you for the explanation, makes more sense now :)