as per jayanth mentioned try your long equation to sort form calculate sin , cos in form of u ,v and put that value in your real equation and get desired value . and also make sure that venkadesh mentioned in your function u,v is not declared
so first make your program and if any error in output then post your code..