From 0fc3adb51426dfdb7202755bb0c716c0cdee8cab Mon Sep 17 00:00:00 2001 From: arc Date: Thu, 9 Jan 2025 13:11:59 -0700 Subject: [PATCH] vault backup: 2025-01-09 13:11:59 --- education/computer engineering/ECE2700/Digital Hardware.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/education/computer engineering/ECE2700/Digital Hardware.md b/education/computer engineering/ECE2700/Digital Hardware.md index e8b9c9c..2498766 100644 --- a/education/computer engineering/ECE2700/Digital Hardware.md +++ b/education/computer engineering/ECE2700/Digital Hardware.md @@ -22,6 +22,9 @@ $$ D = d_{n-1}d_{n-2} \cdots d_1 d_0 $$ This represents the value $$ V(D) = d_{n-1} * 10^{n-1} + d_{n - 2} * 10^{n-2} + \cdots + d_1 * 10^1 + d_0 * 10^0 $$ In a binary or base 2 number system, each digit can be a zero or one, called a *bit*. +$$ D = d_{n-1}d_{n-2} \cdots d_1 d_0 $$ +To determine the integer value, a very similar formula can be used. +$$ V(B) = b_{n-1} * 2^{n-1} + b_{n-2} * 2^{n-2} \cdots b_{1} * 2^1 + b_0 * 2^0 $$ # Definitions - **Xtor** is an abbreviation for *transistor*