I searched on the website and I didn't find a problem like this
my problem is that in my android application when I do so :

```
String ET6 = et6.getText().toString();
String ET7 = et7.getText().toString();
String ET8 = et8.getText().toString();
int IET6 = Integer.parseInt(ET6);
int IET7 = Integer.parseInt(ET7);
int IET8 = Integer.parseInt(ET8);
double sqrt1 = (IET7 ^ 2) - 4 *(IET6 * IET8);
sqrt1 = Math.sqrt(sqrt1);

```

I get a NaN value
What is wrong with the calculation ?

sqrt = 3^2 - 4\*2\*1

sqrt = 9 - 8

sqrt = 1

Then the sqrt root should be 1