Wheatstone Bridge Circuit
Va = R2/(R1+R2) * Vs
Vb = Rx/(R3+Rx) * Vs
R2/(R1+R2) = Rx/(R3+Rx)
Datum node를 정해두고, 식을 세워서 구하면 됨.
근데 일반적인 Circuit과 얘를 따로 떼서 배우는 이유?
Dependent Sources
Solving the Circuit
= 모든 브랜치의 Voltage와 Current를 구하는 것 with 몇 브랜치의 voltage와 currnet known.
N개의 Node에 대하여 N-1개의 독립적인 Voltage가 있는데, KVL과 Branch Voltage를 사용하는게 아니라, 각 Node에 대해서 KCL을 적용함.
먼소리나면, Ohm's law + KVL을 섞어서 한번에 KCL식을 완성시켜서 해결하는 것임.
전류를 이용하여 KCL 식을 세우는 게 아니라, 그 전류를 전압과 저항의 관계로 표현한 뒤에 KCL식을 세우는 것.
N-1개의 각 노드의 Voltage를 알면, 각 Branch의 전류 또한 구할 수 있으니 결과적으로 보면 변수를 N-1개의 Node전압으로 하고, N-1개의 KCL식을 이용해서 Circuit을 분석하는 것.
Binary Representation
Easy to store, Straightforward implementation, Reliable transmition
Information = Bits + Context(Integer, Photo, Video...)
3 Ways of representing Integer.
Manipulating Integers.
Bit-level operation: &. |, ~, ^
Logic Operation: &&, ||, !
Shift Operation: <<, >>
When shifting an unsigned value, the >> operator in C is a logical shift.
When shifting a signed value, the >> operator is an arithmetic shift.
출처
Addition과 Multiplication에 있어서,
w bits 숫자끼리 연산을 했을때, unsigned냐 signed냐에 상관없이, 두 결과 모두 low-odrder w bits는 동일하다!
(이 부분 조금 더 생각을 해봐야함)
ex)
UNSIGNED: 4[100] + 3[011] = 7[0111] -> Last 3 bits [111]
SIGNED: -4[100] + 3[011] = -1[1111] -> Last 3 bits [111]
UNSIGNED: 5[101] 3[011] = 15[001111] -> Last 3 bits [111]
SIGNED: -3[101] 3[011] = -9[110111] -> Last 3 bits [111]