Exp-9 RLC
Exp-9 RLC
EXPERIMENT NO-09
1.1 Objective 1.2 Software Used 1.3 Numerical 1.4 Syntax 1.5 Command 1.6 Result 1.7 Precautions
1.3 NUMERICAL: An R-L-C circuit has R=180 ohms C=1/280 farads L= 20 henries and applied voltage E(t)=
10sin t. Assuming that no charge is present but an initial current of i A is flowing at t=0 when the voltage is first
dq
applied, find q and i= at any time t. q is given by the differential equation.
dt
d2 q dq q
L 2 + R + =E (t )
dt dt c
1.4 SYNTAX:
1.5 COMMAND:
>> syms q t
>> q=dsolve('20*D2q+180*Dq+280*q=10*sin(t)','q(0)=0')
>> pretty(q)
>> i=diff(q)
>> pretty(i)
1.6 RESULTS:
pretty(q) =
i=
pretty(i)
1.7 PRECAUTION: