C.p( Math.sin(),Math.cos()) App not response

var distance = this.getContentSize().width * 2;
var offsetX = distance * Math.cos(this.radians);
var offsetY = distance * Math.sin(this.radians);

When app run : var location = c.p(offsetX,offsetY); app stop and not response

Who know what is reason?

When chang code like:

distance = this.getContentSize().width * 2;
var offsetX = distance * Math.cos(this.radians);
var offsetY = distance * Math.sin(this.radians);
var location = cc.p(this.linkApp.getPosition().x + offsetX,this.linkApp.getPosition().y + offsetY);//cc.pAdd(location,this.linkApp.getPosition());

It work!