Faraday Physlet --> BarGraph  DataConnection

 

Initialize

What to do?

Drag the wire and notice the arrow representing the direction of current flow, the galvanometer needle, and the bar graph.  The bar graph displays the flux passing through the circuit.

Explanation

This page contains two Physlets.  The Faraday Physlet is a SDataSource.  It can supply the following variables:

The Bar graph is a SDataListener.  A Bar Physlet can display data supplied by a data source using a data connection. A data connection can be established between a data source and a listener using the following script:

document.Faraday.makeDataConnection(sourceID,listenerID,1,"f","f");   

Only the first function string will be displayed in the Bar Physlet.