LRC Applet: Example 1

Vary the frequency using the slider and then rest the mouse on a circuit component to read the voltage.  

You can also use JavaScript to plot the instantaneous voltages as functions of time or the rms current as a function of frequency.


Script Example

<script language="JavaScript"> 
function voltage(){
     document.Circuit.setAutoRefresh(true);
     document.Circuit.setDefault();
     document.Circuit.setPixPerCell(50);
     document.Circuit.setShowGraph(true);
     document.Circuit.setImpedanceGraphType(false);
     document.Circuit.setACVoltage(100,true,false);
     document.Circuit.setAutoRefresh(true);
}
function current(){
     document.Circuit.setAutoRefresh(true);
     document.Circuit.setDefault();
     document.Circuit.setPixPerCell(50);
     document.Circuit.setShowGraph(true);
     document.Circuit.setImpedanceGraphType(true);
     document.Circuit.setACVoltage(100,true,false);
     document.Circuit.setAutoRefresh(true);
}
</script>