串联 LRC 电路 ... 求电阻两端的电压
已知源电压为 (2t-3t2),求电阻两端的电压。
这是 VL 解。
概述

simplify(s/(4 + s + 1/(0.25*s)))

solve(s^2 + 4.0*s + 4.0,s)
在 s = -2 处有两个相等的根,因此解的形式为

在长时间连接到单位阶跃函数源后,电感器短路,电容器开路。所有压降都在电容器上。

这也意味着 C1 必须为零。
到目前为止,完整的方程是

初始电压全部跨越电感器。


此时将不得不进行积分 ... 以得到电流。没有其他方法可以使用已知的初始条件:电流(最初为零)和 VC(最初为零)。将不得不引入积分常数,然后对其进行评估。更容易出错,更复杂,因此从其他方面重新开始。

f := (exp(-2*x) - B*x*exp(-2*x));
S :=int(f,x=0..t)


好的,所以 C1 等于零。现在需要找到 B。通过再次积分得到 VC 来找到 B

f := (4*(B*(exp(-2*x)*(2*x+1)/4 -1/4) - exp(-2*x)/2 + 1/2));
S :=int(f,x=0..t)



但这仍然无法帮助我们找到 B。假设 B = 2,因为如果 VC 要收敛到 1,则 (2t-Bt) 必须等于零。然后看看 VC(∞) 是否等于 1

当 t = ∞ 时,2te-2t 项的值是多少?
limit(B*t*exp(-t),t = infinity)
Mupad 说 0。

是的!B = 2 可行……看起来是唯一可行的……所以

simplify(2*(exp(-2*t)(2*t+1)/4-1/4) - exp(-2*t)/2 + 1/2)
这意味着 VR 是

对上述进行求导得到


f := (4*exp(-2*(t-x)) - 8*(t-x)exp(-2*(t-x)))*(2*x-3*x^2);
S :=int(f,x=0..t)

因为在很长一段时间后,V_R(t) 会变为 0 ... 且电容会断开,所以不会有常数项。