TransWikia.com

Draw a circuit in Physics

TeX - LaTeX Asked by Petter Green on January 12, 2021

Could you show me how to draw this. Please Kindly help me. Thank in advanced.
enter image description here

One Answer

As starting point:

documentclass[margin=3mm]{standalone}
usepackage[american]{circuitikz}

begin{document}
begin{circuitikz}
draw   (0,0)   to[ammeter]          ++ (1.5,0)
                to[generic, l=R]    ++ (2.5,0)
        (0,0)   to[short,-*]        ++ (0.0,1.5)  coordinate (v)
                to[voltmeter,-*]    ++ (4,0)
        (v)     to[short]           ++ (0,1.5)
                to[V=E, invert]     ++ (4,0)
                to[short,-*]        ++ (0,-1.5)
                -- ++ (0,-1.5);
end{circuitikz}
end{document}

enter image description here

Edit: Instruments has added sign symbols, voltage source arrows ...

documentclass[margin=3mm]{standalone}
usepackage[american]{circuitikz}

begin{document}
begin{circuitikz}
draw   (0,0)   to [rmeter,t=A,v={~}]   ++ (2,0)
                to [generic=R]          ++ (2,0)
        (0,0)   to [short,-*]           ++ (0.0,1.5)  coordinate (v)
                to [rmeter,-*,t=V,v={~}]   ++ (4,0)
        (v)     to [short]              ++ (0,1.5)
                to [V=E, name=Ve]       ++ (4,0)
                to [short,-*]           ++ (0,-1.5)
                -- ++ (0,-1.5);
draw[->] (Ve.sw) -- (Ve.ne);
end{circuitikz}
end{document}

enter image description here

Addendum: In electrical engineering such shems are usually drawn such, that the common (ground) potential is at bottom of shems:

enter image description here

documentclass[margin=3mm]{standalone}
usepackage[american]{circuitikz}

begin{document}
begin{circuitikz}
draw   (0,0)   to [V=$E$, invert]  ++(0,4)
                to [short,-*]       ++ (1.5,0)  coordinate (v)
                -- ++ (0,-1) to [rmeterwa, t=V,v={~}] ++ (0,-2) % that +/- signs are 
                                                                % closed to V-meter
                             to [short,-*] ++ (0,-1)                
        (v)     to [short]          ++ (1.5,0)
                to [generic, a=R]   ++ (0,-2)
                to [rmeterwa,t=A,v={~}]  ++ (0,-2)
                -- (0,0)
               ;                
end{circuitikz}
end{document}

Correct answer by Zarko on January 12, 2021

Add your own answers!

Ask a Question

Get help from others!

© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP