Accuracy of the Java Simulation for the Charge Motion in Electric and Magnetic Fields
Keywords:Image learning, charge motion in electric and magnetic fields, Java programming, accuracy of Java simulation by Runge-Kutta method
The accuracy of the Java simulation by the Runge-Kutta method for the charge motion in electric and magnetic fields has been investigated in comparison with the analytical solution. The error of the simulation depends on the time increment, h, used for the numerical calculation. If we use an increment that is larger than the boundary value, the simulation results in a non-accurate image of the charge motion. In this case, the simulation almost results in an underestimation, that is, a motion that is smaller than the real motion. The boundary increment is proportional to the mass of the charge, m, and is inversely proportional to the charge, q, and the magnetic field, B0. The empirical results conclude that the image of the charge motion can be obtained accurately by Java simulation using h < 0.2m/qB0.
(1). M. Morooka, S. Qian, and M. Morooka, Image Learnig of Charge Motion in Electric and Magnetic Fields by Java Programming, Transactions on Machine Learnig and Artificial Intelligence, 2014. 2(2): p.1- 19.
(2). M. Morooka, S. Qian, and M. Morooka, Image Learnig of Electric characteristics of Resistance, Capacitance, Inductance, and their Circuits by Java Programming, Transactions on Machine Learnig and Artificial Intelligence, 2014. 2(3): p.1- 19.
(3). A. Ralston and C. L. Meek, ENCYCROPEDIA OF COMPUTER SCIENCE, Van Nostrand Rainhold Company (1976), p. 984.