Finding the value of the function

Simple assignment  write a C+++. Baseline: x=5, a = 3.3
#include "stdafx.h" #include <iostream> #include <conio.h> #include <math.h>
using namespace::std;
int main()
{
setlocale(LC_ALL, "Russian");
double x, y;
const double a = 3.3;
cout << "Введите x: " << endl;
cin >> x;
y = 12.7 * pow(asin(3 * pow(x, 2)), 3) / pow(log(sqrt(x + exp(a))), 2);
cout << "y = " << y;
_getch();
return 0;
}
The result is right (2.814), but my source is nan(ind). I tried to take it underneath the root. What did I miss?

So it's most likely that the number of 0.5 was recorded in the mission without the lead 0 ♪ 5