Crossed E and B fields


A particle is fired into crossed electric and magnetic fields as shown above. The black vector represents the velocity and the blue vector represents the force.   You can set the velocity of the test particle if you pause the animation and control-click-drag on the test particle.  The magnetic field is out of the board.  Start


Script Example

<script language="JavaScript"> 
	function magnetic(){
     	document.EField.setDefault();
	document.EField.setShowForce(1);
	document.EField.setShowVelocity(1);
	document.EField.setNoDrag(0);
	document.EField.setChargeRGB(0,0,0);
 	document.EField.setChargeTrail(400);
	document.EField.setBz(3.0);
     	document.EField.addTestCharge(-39.0,-0.0,1.0,1.0);
     	document.EField.setMaxTime(10,"Animation Stopped");
	document.EField.forward();
}
</script>

Documentation