using System; using L=Science.Physics.GeneralPhysics; namespace Serway.Chapter01 { /// /// Example07: How much gas do we use? /// Estimate the number of gallons of gasoline /// used each year by all the cars in the United States. /// public class Example07 { public Example07() { } private string result; public string Result { get{return result;} } public void Compute() { double x = 100.0*1000000.0*10000*0.05; // 100 milion cars * 10000 mi / car * 0.05 gal/mi result = x.ToString(); } } } // 50000000000