Example #1
0
        public override double GetValue(double x)
        {
            Function fun1 = new Sinus();
            Function fun2 = new Polynomial();

            return fun1.GetValue(fun2.GetValue(x)); //sin(x^2 - 2x - 1)
        }
Example #2
0
        public override double GetValue(double x)
        {
            Function fun1 = new Sinus();
            Function fun2 = new Exponential();

            return fun1.GetValue(fun2.GetValue(x)); //sin(3^x)
        }
Example #3
0
        public override double GetValue(double x)
        {
            Function fun1 = new Sinus();
            Function fun2 = new Logarithmic();

            return fun1.GetValue(fun2.GetValue(x)); //sin(ln(x))
        }