hiii..
If you go through JavaDocs then you will find that Math.Pow() return a double and in this case you need to are storing the value in an int datatype.
tgus according to
Java when u r storing a bigger datatype into a smaller in which there is possibility of loss of precision then you need to explicitly type cast it..
so u can do this in any of the following manner and your error will be gone..
i hope i have answered your question... if still in doubt please get back
Thanks
Amit