function Sin(X:Extended):Extended; //X以弧度为单位的角度,返回该角度所对应的正弦值。
function Cos(X:Extended):Extended; //同上,返回对应的余弦值。
function ArcTan(X:Extended):Extended; //同上,返回正切值为X的角度。tan(45度) =1怎样调用 arttan(这里的参数是什么) 
arttan (abs(1)) =????(不是45度),弧度到角度的转换怎么写?怎么用?

解决方案 »

  1.   

    帮助文档几乎没有,怎么用arttan?? 
    ---------------------------------
    帮助里面确实没有arttan ,因为delphi里面没有这个函数。弧度到角度的转换怎么写?
    ---------------不会吧?arctan在数学里面的运算结果本身就是弧度。ArcTan(1)* 180 / Pi = 45这个问题也值100分?
      

  2.   

    是写错了,好像
    弧度与角度的运算是高中学的把。
    不过先谢谢了。
    我也知道怎么算,不过精度如果要求高点,自己写的派能用吗?Calculates the arctangent of a given number.UnitSystemCategorytrigonometry routinesDelphi syntax:function ArcTan(X: Extended): Extended;DescriptionIn Delphi code, ArcTan returns the arctangent of X.X is a real-type expression that gives an angle in radians.这就是delphi的帮助?看看msdn的例子就知道拉,它有多差拉
      

  3.   

    arctan可以进行双精度运算,也就是64位
    实际上系统协处理器可以支持到80位,但是库中没有引出