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) }
public override double GetValue(double x) { Function fun1 = new Sinus(); Function fun2 = new Exponential(); return fun1.GetValue(fun2.GetValue(x)); //sin(3^x) }
public override double GetValue(double x) { Function fun1 = new Sinus(); Function fun2 = new Logarithmic(); return fun1.GetValue(fun2.GetValue(x)); //sin(ln(x)) }