23.01.2015 Views

Download - Wolfram Research

Download - Wolfram Research

Download - Wolfram Research

SHOW MORE
SHOW LESS
  • No tags were found...

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

212 3. Reference Manual<br />

Simulate the circuit. In[21]:= rlcftran = NDAESolve[rlcfeqs, {t, 0., 0.002}]<br />

Out[21]=<br />

I$PN$LC InterpolatingFunction0., 0.002, ,<br />

vcap$LC InterpolatingFunction0., 0.002, ,<br />

V$1 InterpolatingFunction0., 0.002, ,<br />

vind$LC InterpolatingFunction0., 0.002, <br />

Display the capacitor<br />

voltage and the inductor<br />

current.<br />

In[22]:= TransientPlot[rlcftran, {vcap$LC[t], I$PN$LC[t]},<br />

{t, 0., 0.002}, SingleDiagram −> False, PlotRange −> All]<br />

4<br />

2<br />

-2<br />

0.0005 0.001 0.0015 0.002 t<br />

vcap$LC[t]<br />

0.01<br />

0.005<br />

-0.005<br />

-0.01<br />

-0.015<br />

-0.02<br />

-0.025<br />

0.0005 0.001 0.0015 0.002 t<br />

I$PN$LC[t]<br />

Out[22]= GraphicsArray <br />

3.2.2 Subcircuit<br />

The command Subcircuit is an alias for Model (Section 3.2.1). You may use either of the two<br />

function names to define a subcircuit or device model.

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!