using System; using L=Science.Physics.GeneralPhysics; namespace Serway.Chapter15 { /// /// Example05: Circular Motion with Constant Angular Speed /// A particle rotates counterclockwise in a radius 3.00 m /// with a constant angular speed of 8.00 rad/s. At t=0, /// the particle has an x coordinate of 2.00 m and is moving /// to the right. /// (A) Determine the x coordinate as a function of time. /// x = 3 \cos(8t-0.841) /// (B) Find the x components of the particle velocity /// and acceleration at any time t. /// v = -24 \sin(8t-0.841) /// a = -192 \cos(8t-0.841) /// public class Example05 { public Example05() { } private string result; public string Result { get{return result;} } public void Compute() { L.SimpleHarmonicMotion shm = new L.SimpleHarmonicMotion(); shm.Amplitude = 3.0; shm.AngularFrequency = 8.0; shm.PhaseConstant = -Math.Acos(2.0/3.0); result+=Convert.ToString(shm.PhaseConstant)+"\r\n"; result+=Convert.ToString(shm.VelocityMaximum)+"\r\n"; result+=Convert.ToString(shm.AccelerationMaximum)+"\r\n"; } } } /* -0.84106867056793 24 192 */