using System; using L=Science.Physics.GeneralPhysics; namespace Serway.Chapter07 { /// /// Example14: Power Delivered to the Wheels /// Suppose the compact car in Example 7.13 has a gas /// mileage of 35 mi/gal at 60 mi/h. How much power is /// delivered to the wheels? /// P = 0.18*62 kW = 11 kW /// public class Example14 { public Example14() { } private string result; public string Result { get{return result;} } public void Compute() { L.Velocity v = new L.Velocity(); L.Length length = new L.Length(); length.Magnitude = 1.0; v.X = 60*L.Unit.mileTOm(length)/3600.0; L.Force f = new L.Force(); f.X = 0.18*1.3*Math.Pow(10.0,8.0)/35.0/L.Unit.mileTOm(length); L.Power P = new L.Power(f,v); result+=P.ToString(); } } } //11142.8571428571 +/- 0 (W)