using System; using L=Science.Physics.GeneralPhysics; namespace Serway.Chapter36 { /// /// Example09: Images Formed by a Converging Lens /// A converging lens of focal length 10.0 cm forms images /// of objects placed /// (A) 30.0 cm, /// (B) 10.0 cm, and /// (C) 5.00 cm from the lens. /// In each case, construct a ray diagram, find the /// image distance and describe the image. /// public class Example09 { public Example09() { } private string result; public string Result { get{return result;} } public void Compute() { L.Lens ls = new L.Lens(); ls.FocalLength = 0.1; ls.ObjectDistance = 0.3; ls.FindImageDistance(); result+=Convert.ToString(ls.ImageDistance); } } } //0.15