Home
Looooooong
Cancel

SICP Lecture 02A

Write Good Code Last time we have the codes for calculating square root. (define (abs x) (if (< x 0) (- x) x)) (define (square x) (* x x)) (define (average x y) (/ (+ x y) 2)) ...

SICP Lecture 01

A simple example to show essential scheme syntax. (define (abs x) (if (< x 0) (- x) x)) (define (square x) (* x x)) (define (average x y) (/ (+ x y) 2)) (define (sqrt x) (def...

Bandwidth Estimation for Circuits

For a \(n\)-th order system [H(s) = \frac{a_0 + a_1 s + a_2 s^2 + \dots + a_m s^m}{1 + b_1 s + b_2 s^2 + \dots + b_n s^n}] A typical circuit will have transfer function with \(\omega_{l}\) and \(...

Transistor Small Signal Model

MOSFET [\begin{align} C_{ox} &= \frac{3.9 \epsilon_0}{t_{ox}} = \frac{3.9 \times 8.85e-12}{t_{ox}} I_D &= \frac{1}{2}\mu_n C_{ox} \frac{W}{L}(V_{GS}-V_{TH})^2(1+\lambda V_{DS}) \q...

Resistance Calculation

From Lectures by Prof. Ali Hajimiri. Example 01 Example 01 Solution [\begin{align} R_{\pi} &= \frac{R_1 + R_2}{1+g_m R_2} R_{\mu} &= R_1 + R_3 + G_m R_1 R_3 G_m &= \frac{g_m}{1+g_...

Time and Transfer Constants in Circuits

From Lectures by Prof. Ali Hajimiri. First Order System [\begin{align} H(s) = \frac{a_0 + a_1 s}{1 + b_1 s} = \frac{H^{0} + \tau H^{1}s}{1 + \tau s} \end{align}] \(\tau\) is the time constant...

Noise in Circuits

Noise Type Thermal noise: [\overline{v_n^2}/ \Delta f = 4 k T R, \quad \overline{i_n^2} / \Delta f = \frac{4kT}{R}] MOSFET channel is (non-uniform) resistor [\overline{i_n^2}/\Delta f =...

Physical Constants

1e3 1e6 1e9 1e12 1e15 1e18 1e21 1e24 k M G T P E Z Y 1e-3 1e...

Xargs

# put the output to the end of echo ls *str* | xargs echo # put the output between echo and hello ls *str* | xargs -I {} echo {} hello

Residual Theorem

[\begin{aligned} \int_{C} f(s)ds = 2\pi j\sum_{k=1}^{m}d_k \end{aligned}] where \(C\) is a positive contour(anti-clockwise), and there are \(m\) poles inside the contour. Each \(d_k\) is the resid...