using System; using L=Science.Physics.GeneralPhysics; namespace Serway.Chapter06 { /// /// Example05: The Banked Exit Ramp /// A civil engineer wishes to design a curved exit ramp /// for a highway in such a way that a car will not have /// to rely on friction to round the curve without skidding. /// In other words, a car moving at the designated speed can /// negotiate the curve even when the road is covered with ice. /// Such a ramp is usually banked: this means the roadway is /// tilted toward the inside of the curve. Suppose the /// designated speed for the ramp is to be 13.4 m/s (30.0 mi/h) /// and the radius of the curve is 50.0 m. At what angle should /// the curve be banked? /// \theta = 20.1^{\circle} /// public class Example05 { public Example05() { } private string result; public string Result { get{return result;} } public void Compute() { // tan(theta) = a / g; // a = v^2/r double v = 13.4; double r = 50.0; double g = L.Constant.AccelerationOfGravity; double theta = Math.Atan(v*v/r/g); result += Convert.ToString(theta*180.0/Math.PI); } } } // 20.1253082418636