double func(double x) { var res = (x - 5 * Math.Pow(Math.Sin(x), 2)); EventSpline?.Invoke(x, res); return((double)res); }
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); }