|
Faraday models the induced current in wires as they are moved through an external magnetic field. Wires are in the x-y plane. The external magnetic field is in the z direction.
Faraday is embedded using the following html tag:
<applet codebase="../classes/" archive="Faraday4_.jar,STools4.jar" code="faraday.Faraday.class" name="Faraday" width="450" height="300"> <param name="PixPerUnit" value="10" /> <param name="SchematicWidth" value="200" /> <param name="MaxTime" value="20" /> <param name="FPS" value="10" /> <param name="ShowControls" value="true" /> <param name="FieldFunction" value="x/5" /> <param name="PositionFunction" value="4-4*cos(t)" /> <param name="ShowGraph" value="true" /> <param name="DragMode" value="false" /> <param name="ShowGrid" value="true" /> <param name="ShowColor" value="true" /> <param name="ShowCurrentArrow" value="true" /> <param name="ShowSchematic" value="true" /> </applet>
Faraday Parameters |
||
ShowControls | boolean | True to show simple user interface. |
FPS | int | Animation frames per second. |
MaxTime | double | Cycle time on the graph. |
PixPerUnit | int | The scale on the schematic diagram. |
FieldFunction | string | The magnetic field, B(x,t). |
PositionFunction | string | Position function, x(t), of the U wire in the default configuration. |
SchematicWidth | int | Width of schematic in pixel units. Graph will occupy the remaining space. |
ShowColor | boolean | True to use red/blue to show field strength. |
ShowGrid | boolean | True to show the tick marks for field direction. |
ShowGraph | boolean | True to show the voltage graph. |
ShowCurrentArrow | boolean | True to show the current arrow. |
ShowSchematic | boolean | True to show the schematic. |
STools Parameters |
||
AppletNames | string | A comma delimited list of applet names occurring within this html page. (See OnLoad.) |
Debug | int | Enables debugging messages in Java console; 0 = no messages, 255 = verbose messages. |
OnLoad | string | A JavaScript function that will be invoked using LiveConnect after all applets have been loaded. (See AppletNames.) |
Resources | string | A file containing translations of internal text such as buttons and labels. |