Example #1
0
        double func(double x)
        {
            var res = (x - 5 * Math.Pow(Math.Sin(x), 2));

            EventSpline?.Invoke(x, res);
            return((double)res);
        }
Example #2
0
        double func(double x)
        {
            var res = ((Math.Pow(Math.E, (double)x)) / (Math.Pow((double)x, 3) - Math.Pow(Math.Sin((double)x), 3)));

            EventSpline?.Invoke(x, res);
            return((double)res);
        }