1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
| \begin{tikzpicture}
%--------start graphics code --------
\draw[step=0.5,very thin,black!20] (-1,-1) grid (6,2.5);
\path (0,0) coordinate (ref_gnd);
\draw
(ref_gnd) to[american voltage source=\(V\)] ++(0,2)
-- ++(2,0) to[R=\(R_1\)] ++(0,-2) -- (ref_gnd)
++(2,2) -- ++(1.5,0) to[L=\(L\)] ++(0,-2) -- ++(-1.5,0)
++(1.5,2) -- ++(1.5,0) to[C=\(C\)] ++(0,-2) -- ++(-1.5,0);
\fill[color=black] (ref_gnd)++(2,0) circle[radius=0.08];
\fill[color=black] (ref_gnd)++(3.5,0) circle[radius=0.08];
\fill[color=black] (ref_gnd)++(2,2) circle[radius=0.08];
\fill[color=black] (ref_gnd)++(3.5,2) circle[radius=0.08];
%--------end graphics code ----------
\end{tikzpicture} |
\begin{tikzpicture}
%--------start graphics code --------
\draw[step=0.5,very thin,black!20] (-1,-1) grid (6,2.5);
\path (0,0) coordinate (ref_gnd);
\draw
(ref_gnd) to[american voltage source=\(V\)] ++(0,2)
-- ++(2,0) to[R=\(R_1\)] ++(0,-2) -- (ref_gnd)
++(2,2) -- ++(1.5,0) to[L=\(L\)] ++(0,-2) -- ++(-1.5,0)
++(1.5,2) -- ++(1.5,0) to[C=\(C\)] ++(0,-2) -- ++(-1.5,0);
\fill[color=black] (ref_gnd)++(2,0) circle[radius=0.08];
\fill[color=black] (ref_gnd)++(3.5,0) circle[radius=0.08];
\fill[color=black] (ref_gnd)++(2,2) circle[radius=0.08];
\fill[color=black] (ref_gnd)++(3.5,2) circle[radius=0.08];
%--------end graphics code ----------
\end{tikzpicture}
|
|