public static void Main(string[] args) { Console.WriteLine("Enter a mathematical expression for the differential equation"); Expression slopeExpression = new Expression(Parser.ParseExpression(In.GetString(), null), new ExpressionParser.Parsing.Environment()); Console.WriteLine("Enter an initial point in the form: x,y"); Point initialCondition = GetPoint(); Console.WriteLine("Enter a value to estimate"); double toEstimate = In.GetDouble(); Console.WriteLine("Get the number of steps to calculate, or enter -1 if you want the best approximation"); int steps = In.GetInt(); Console.WriteLine($"Estimated value is : {Estimate(slopeExpression, initialCondition, toEstimate, steps)}"); }