Using System;
using static System.Math;
public class Test
{
public static double F(double x, double a){
return Math.Sqrt(x + Math.Pow(x + Math.Sqrt(a*Math.Log(x)),1/3.0)) + Math.Sqrt(x)*Math.Sin(Math.Pow(x,-0.5))/(x + Math.Pow(Math.E,a*x));
}
public static void Main()
{
double X = 3.89, A = 4.01;
Console.WriteLine(F(X,A));
}
}