7.6 (continued)
\( u_c(t) \)
\( \delta(t-c) \)
It turns out \[ \frac{d}{dt} u_c(t) = \delta(t-c) \]
why?
approx. \( u_c(t) \) as a ramp
\( h \to 0 \)
\( \longrightarrow \)deriv.
\( h \to 0 \)
\( \longrightarrow \)\( u_c(t) \)
\( \delta(t-c) \)
It turns out \[ \frac{d}{dt} u_c(t) = \delta(t-c) \]
why?
approx. \( u_c(t) \) as a ramp
\( h \to 0 \)
\( \longrightarrow \)deriv.
\( h \to 0 \)
\( \longrightarrow \)What \( f(t) \) has a Laplace transform of 1?
if \( c=0 \), \( \mathcal{L} \{ \delta(t) \} = 1 \) \( \delta(t) \) is impulse at \( t=0 \)
Note: \(g(t-\tau)\) is the shifted impulse response.
\(f(t)\): infinitely many impulses under the curve.
The following graphs illustrate the individual responses at different time steps:
Convolution superimposes all onto one function of \(t\).
Note: \(g\) is the impulse response.
Do some algebra in \(s\) domain and using properties of Laplace:
Where:
Numerical method to solve \( y' = f(t, y) \), also applicable to higher-order equations.
Basic idea: tangent line approx.
\( y(t) \) (unknown). We know its slope \( y' = f(t, y) \) at \( (t, y) \).
Suppose we know one point (initial condition) \( (t_0, y_0) \).
\[ y - y_0 = f(t_0, y_0)(t - t_0) \]
\[ y = y_0 + f(t_0, y_0)(t - t_0) \]
\[ \approx \text{true } y(t) \]
→ Move a little bit on the tangent line → \( y(t_1) = y_1 \)
Repeat as needed
\( y_1 \) approx. of true \( y_1 \)
Typically we choose a fixed step size \( h \) : \( t_n = t_{n-1} + h \)
\( y' = 2y - 3t \), \( y(0) = 1 \)
Use \( h = 0.25 \) to estimate \( y(0.5) \)
\( t_0 = 0 \), \( y_0 = 1 \) (Given)
\( t_1 = t_0 + h = 0 + 0.25 = 0.25 \)
\( y_1 = y_0 + f(t_0, y_0)(t_1 - t_0) = 1 + [2(1) - 3(0)](0.25) = 1.5 \)
Note: slope at prev. point
\( t_2 = t_1 + h = 0.25 + 0.25 = 0.5 \)
\( y_2 = y_1 + f(t_1, y_1)(t_2 - t_1) = \dots = 2.0625 \)
Accuracy? We can actually solve the differential equation:
The exact solution is:
The true value at \(t = 0.5\) is:
To improve, use a smaller step size \(h\) (more steps).
If \(h = 0.01\) (50 steps):