To find Q(t) for t ≥ 0, we need to solve the given differential equation:
L*(d²Q)/(dt²) + R*(dQ/dt) + Q/C = E(t)
Substituting the given values, we get:
(1)(d²Q)/(dt²) + (40)(dQ/dt) + Q/(16*10^(-4)) = 100cos(10t)
Simplifying the equation:
d²Q/dt² + 40*(dQ/dt) + 6250*Q = 10000cos(10t)
This is a second-order non-homogeneous linear differential equation. To solve it, we'll first find the complementary solution (Q_c) by solving the homogeneous equation:
d²Q_c/dt² + 40*(dQ_c/dt) + 6250*Q_c = 0
The characteristic equation for this homogeneous equation is:
r² + 40r + 6250 = 0
Using the quadratic formula to solve for r:
r = (-b ± √(b² - 4ac)) / 2a
r = (-40 ± √(40² - 416250)) / 2
r ≈ -20 ± 30i
Thus, the complementary solution is:
Q_c(t) = e^(-20t) (Acos(30t) + Bsin(30t))
Next, we need to find a particular solution (Q_p) for the non-homogeneous equation. Since the right-hand side of the equation is 10000cos(10t), we'll assume a particular solution of the form:
Q_p(t) = Ccos(10t) + Dsin(10t)
Taking the first and second derivatives of Q_p(t) with respect to t:
dQ_p/dt = -10Csin(10t) + 10Dcos(10t)
d²Q_p/dt² = -100Ccos(10t) - 100Dsin(10t)
Now, substituting Q_p(t) and its derivatives back into the non-homogeneous equation:
-100Ccos(10t) - 100Dsin(10t) + 40*(-10Csin(10t) + 10Dcos(10t)) + 6250*(Ccos(10t) + Dsin(10t)) = 10000cos(10t)
Comparing the coefficients of cos(10t) and sin(10t), we get:
(-100 + 6250)C + 400D = 10000
-1000C + (40 - 6250)D = 0
Solving this system of linear equations gives C = 2 and D = -0.32.
So, the particular solution is:
Q_p(t) = 2cos(10t) - 0.32sin(10t)
The complete solution is the sum of the complementary and particular solutions:
Q(t) = e^(-20t) (Acos(30t) + Bsin(30t)) + 2cos(10t) - 0.32sin(10t)
Now, we apply the initial conditions:
At t = 0, Q(0) = 0:
0 = e^(0) (Acos(0) + Bsin(0)) + 2cos(0) - 0.32sin(0)
0 = A + 2
A = -2
Since there is no current before closing the switch, dQ(0)/dt = 0:
0 = -20*(-2)e^(-200)cos(0) + 20Be^(-200)sin(0) - 102sin(0) - 10(-0.32)*cos(0)
0 = 40 - 10*(-0.32)
B = 0
Finally, the expression for Q(t) for t ≥ 0 is:
Q(t) = e^(-20t) (-2cos(30t)) + 2cos(10t) - 0.32*sin(10t)