How to convert binary to decimal and vise versa

Answers

How to convert binary to decimal

For binary number with n digits:

dn-1 ... d3 d2 d1 d0

The decimal number is equal to the sum of binary digits (dn) times their power of 2 (2n):

decimal = d0×20 + d1×21 + d2×22 + ...

Example

Find the decimal value of 1110012:

binary number:111001

power of 2:252423222120

1110012 = 1⋅25+1⋅24+1⋅23+0⋅22+0⋅21+1⋅20 = 5710

Decimal -358

Binary-101100110

Hex-166

answer:

decimal number

4

decimal from signed 2's complement:

N/A

Hex Number:

4

Decimal calculation steps:

(0000100)₂ = (0 × 2⁶) + (0 × 2⁵) + (0 × 2⁴) + (0 × 2³) + (1 × 2²) + (0 × 2¹) + (0 × 2⁰) = (4)₁₀

answer:

221.5625

Explanation:

For 11011101

2^7 + 2^6 + 2^4 + 2^3 + 2^2 + 2^0 = 128 + 64 + 16 + 8 + 4 + 1 = 221

For 1001

2^-1 + 2^-4 = (1/2) + (1/16) = 0.5625

Therefore

11011101.1001 bin = 221.5625 dec

1100100

-On Convert Binary dot com you can find the numbers from 0 to 100 in their binary code representation. If you want to know the binary representation of any decimal number up to 7 digits.

1. 1100

2.1001001

3. 00101010

4. NULL

5. X

6. NAKALIMUTAN KO

Explanation:

Multiply binary digit and covert to decimal

or search it on Google for SURE

Conversion binary to decimal and vice versa: We multiply each binary digit by its weighted position, and add each of the weighted value together.

#CarryOnLearning

#answerForTrees

#BrainlyOnlineLearning



Do you know the answer?

Other questions on the subject: Computer Science

Computer Science, 21.11.2019, tayis
Windows Keyswin key + L = lock computerwin key + E = open windows explorerwin key + D = display desktopwin key + ⬇️ = minimize windowwin key + ⬆️ = maximize windowctrl + Z = undo a...Read More
1 more answers
The title bar at the top of the Microsoft Word Environment shows the title of the current document being worked on. This allows the user to easily check what file is open. The docu...Read More
1 more answers
tayo ay mas nagiging handa kung sakaling gusto natin mag negosyo...Read More
1 more answers
I suggest 'The cause of Attention Deficit Hyperactivity Disorder (ADHD) In Social Skills of School-Age Children'kinda nice topic for students...Read More
1 more answers