Exemplo n.º 1
0
        private double RightFunction(double x)
        {
            LinearFunction function = new LinearFunction(Point.MakePoint(MiddlePoint, MaxOutputValue),
                                                         Point.MakePoint(RightPoint, MinOutputValue));

            return(function.GetValue(x));
        }
        private double LeftFunction(double x)
        {
            LinearFunction function = new LinearFunction(Point.MakePoint(LeftBottomPoint, MinOutputValue),
                                                         Point.MakePoint(LeftTopPoint, MaxOutputValue));

            return(function.GetValue(x));
        }