Re: Mathematical functions
- Posted by Jacques Deschjnes <desja at QUEBECTEL.COM> Mar 15, 1997
- 917 views
Hi Nathan, The problem is that euphoria trigonometrics functions work with radians not degrees. You have to convert from degrees to radians. function DegToRad(atom deg) return deg/180*3.1415 end function function RadToDeg(atom rad) return rad/3.1415*180 end function ? sin(DegToRad(35))