using System; using L=Science.Physics.GeneralPhysics; namespace Serway.Chapter31 { /// /// Example05: Magnetic Force Acting on a Sliding Bar /// The conducting bar illustrated in Figure 31.12 moves on /// two frictionless parallel rails in the presence of a /// uniform magnetic field directed into the page. The bar /// has mass m and its length is l. The bar is given an /// initial velocity v_i to the right and is released at t = 0. /// (A) Using Newton's law, find the velocity of the bar as /// a function of time. /// (B) Show that the same result is reached by using an /// energy approach. /// public class Example05 { public Example05() { } private string result; public string Result { get{return result;} } public void Compute() { result = "Read the book!"; } } }