Adding function to math object

i have this functions and i want to add to math object but i get this errors

[FONT=times new roman][SIZE=1]FUNCTION[/SIZE][/FONT]
[COLOR=red]
[COLOR=blue]
/*******************************************

  •        Distance function             *
    

/
[/COLOR]
Math.prototype.distance = function (x1,y1,x2,y2) {
var dx=x2-x1;
var dy=y2-y1;
return Math.sqrt(dx
dx+dy
dy);
};
[COLOR=blue]
/
**

  •       Radians to Degrees             *
    

/
[/COLOR]
Math.prototype.radToDeg = function (angle) {
return angle
(180/Math.PI);
};
[COLOR=blue]
/

  •  SINE FUNCTION = HEIGHT (_y)        *
    

*****************************************/
[/COLOR]
Math.prototype.sinD = function (angle) {
return Math.sin(angle
(Math.PI/180));
};[/COLOR]

[FONT=arial][SIZE=1]ERROR[/SIZE][/FONT]
[COLOR=red]
Error Scene=Scene 1, layer=Layer 1, frame=1:Line 2: There is no method with the name ‘radToDeg’.
trace(Math.radToDeg(Math.PI));
[/COLOR]
Total ActionScript Errors: 1 Reported Errors: 1