using System; using L=Science.Physics.GeneralPhysics; namespace Serway.Chapter19 { /// /// Example01: Converting Temperature /// On a day when the temperature reaches 50 F, what is the /// temperature in Celsius and in Kelvins? /// T_C = 10 C, T = 285.15 K /// public class Example01 { public Example01() { } private string result; public string Result { get{return result;} } public void Compute() { L.Temperature t = new L.Temperature(); t.F = 50.0; t.FindCelsiusFromFahrenheit(); t.FindAbsoluteFromCelsius(); result+=t.C.ToString()+" " +t.K.ToString(); } } } //10 283.15