本人只知道:
function sin(X:Extended):Extended;---求正弦值
function cos(X:Extended):Extended;---求余弦值
function ArcTan(X:Extended):Extended;---求正切值(?)
现在请问:
function ArcTan(X:Extended):Extended;---求正切值还是反正切值?
求正切值函数:
求余切值函数:
反正弦值函数:
反余弦值函数:
反正切值函数:
反余切值函数:
谢谢各位赐教!亦欢迎各位大侠讨论其他的MAth函数!
function sin(X:Extended):Extended;---求正弦值
function cos(X:Extended):Extended;---求余弦值
function ArcTan(X:Extended):Extended;---求正切值(?)
现在请问:
function ArcTan(X:Extended):Extended;---求正切值还是反正切值?
求正切值函数:
求余切值函数:
反正弦值函数:
反余弦值函数:
反正切值函数:
反余切值函数:
谢谢各位赐教!亦欢迎各位大侠讨论其他的MAth函数!
解决方案 »
- D2007的组件安装问题
- 再求助关于ActiveForm,web配置选项,web配置变成灰色问题
- Delphi开发,如何从视频文件(.asf,.wma)提取音频文件,并保存成文件?
- 怎么样让桌面静止,好抓取控件截图?
- listview or imagelist help?
- ****寻求delphi兼职****
- 怎么在TStringGrid内容刷新之前把原来的内容清空?
- HELP,谁能解决问题?
- 一个令人疑惑的SQL问题,高手请进!急.......................
- 有关把gif文件转化为bmp文件的问题
- 昨晚做了个flash送MM,MM看了高兴! 散分!!!
- delphi的excel問題
1) Tan(X:Extended):Extended function Returns the tangent of X.
2)ArcTan(X:Extended):Extended function Calculates the arctangent of a given number.
3) ArcCos(X:Extended):Extended function Calculates the inverse cosine of a given number.
4) ArcCosh(X:Extended):Extended function Calculates the inverse hyperbolic cosine of a given number.
5) Cosh(X:Extended):Extended function Calculates the hyperbolic cosine of an angle.
6) Sinh function(X:Extended):Extended function Returns the hyperbolic sine of an angle.
math 单元中所包函函数英文说明
ArcCos functionCalculates the inverse cosine of a given number.ArcCosh functionCalculates the inverse hyperbolic cosine of a given number.ArcCot functionCalculates the inverse cotangent of a given number.ArcCotH functionCalculates the inverse hyperbolic cotangent of a given number.ArcCsc functionCalculates the inverse cosecant of a given number.ArcCscH functionCalculates the inverse hyperbolic cosecant of a given number.ArcSec functionCalculates the inverse secant of a given number.ArcSecH functionCalculates the inverse hyperbolic secant of a given number.ArcSin functionCalculates the inverse sine of a given number.ArcSinh functionCalculates the inverse hyperbolic sine of a given number.ArcTan2 functionCalculates the arctangent angle and quadrant of a given number.ArcTanh functionCalculates the inverse hyperbolic tangent of a given number.Ceil functionRounds variables up toward positive infinity.CompareValue functionReturns the relationship between two numeric values.Cosecant functionReturns the cosecant of an angle.Cosh functionCalculates the hyperbolic cosine of an angle.Cot functionCalculates the cotangent of an angle.Cotan functionCalculates the cotangent of an angle.CotH functionCalculates the hyperbolic cotangent of an angle.Csc functionReturns the cosecant of an angle.CscH functionReturns the hyperbolic cosecant of an angle.CycleToDeg functionConverts an angle measurement from cycles to degrees.CycleToGrad functionConverts an angle measurement from cycles to grads.CycleToRad functionConverts an angle measurement from cycles to radians.DegToCycle functionReturns the value of a degree measurement expressed in cycles.DegToGrad functionReturns the value of a degree measurement expressed in grads.DegToRad functionReturns the value of a degree measurement expressed in radians.DivMod procedureReturns the result of an integer division, including the remainder.DoubleDecliningBalance functionCalculates the depreciation of an asset using the double-declining balance method.EnsureRange functionReturns the closest value to a specified value within a specified range.Floor functionRounds variables toward negative infinity.Frexp procedureSeparates the Mantissa and Exponent of XFutureValue functionCalculates the future value of an investment.GetExceptionMask functionReturns the exception mask from the FPU control word.GetPrecisionMode functionReturns the FPU precision control mode.GetRoundMode functionReturns the FPU rounding mode.GradToCycle functionConverts grad measurements to cycles.GradToDeg functionConverts grad measurements to degrees.GradToRad functionConverts grad measurements to radians.Hypot functionCalculates the length of the hypotenuse.Infinity constantRepresents positive infinity.InRange functionIndicates whether a value falls within a specified range.InterestPayment functionCalculates the interest portion of a loan payment.InterestRate functionReturns the interest rate required to increase PresentValue to FutureValue.InternalRateOfReturn functionCalculates the internal rate of return for an investment.IntPower functionCalculates the integral power of a base value.IsInfinite functionIndicates when a variable or expression represents an infinite value.IsNan functionIndicates when a variable or expression does not evaluate to a numeric value.IsZero functionIndicates when a floating-point variable or expression evaluates to zero, or very close to zero.Ldexp functionCalculates X times (2 to the power of P).LnXP1 functionReturns the natural log of (X+1)Log10 functionCalculates log base 10.Log2 functionCalculates log base 2.LogN functionCalculates the log of X for a specified base.Max functionReturns the greater of two numeric values (Delphi only).MaxComp constantThe maximum value of the Comp data type.MaxDouble constantThe maximum value of the double precision floating point type.MaxExtended constantThe maximum value of the Extended data type.MaxIntValue functionReturns the largest signed value in an integer array.MaxSingle constantThe maximum value of the single precision floating point type.MaxValue functionReturns the largest signed value in an array.Mean functionReturns the average of all values in an array.MeanAndStdDev procedureCalculates the mean and standard deviation of array elements.Min functionReturns the lesser of two numeric values (Delphi only).MinComp constantThe minimum value of the Comp data type.MinDouble constantThe minimum value of the double precision floating point type.MinExtended constantThe minimum value of the Extended data type.MinIntValue functionReturns the smallest signed value in an integer array.MinSingle constantThe minimum value of the single precision floating point type.MinValue functionReturns smallest signed value in an array.MomentSkewKurtosis procedureCalculates the mean, variance, skew, and kurtosis.NaN constantRepresents a value that is not a number in Delphi.NegInfinity constantRepresents negative infinity in Delphi.NetPresentValue functionCalculates the current value from an array of estimated cash flow values.Norm functionReturns the Euclidean 'L-2' norm.NumberOfPeriods functionReturns the number of payment periods for an investment.Payment functionCalculates a fully amortized payment.PeriodPayment functionReturns the principal amount from a full payment.Poly functionEvaluates a uniform polynomial of one variable at the value X.PopnStdDev functionCalculates the population standard deviation.PopnVariance functionCalculates the population variance.Power functionRaises Base to any power.PresentValue functionCalculates the present value of an investment.RadToCycle functionConverts radians to cycles.RadToDeg functionConverts radians to degrees.RadToGrad functionConverts radians to grads.RandG functionGenerates random numbers with Gaussian distribution.RandomRange functionReturns a random integer from a specified range.RoundTo functionRounds a floating-point value to a specified digit or power of ten using 揃anker抯 rounding?SameValue functionIndicates whether two floating-point values are (approximately) equal.Sec functionCalculates the secant of an angle.Secant functionCalculates the secant of an angle.SecH functionCalculates the hyperbolic secant of an angle.SetExceptionMask functionSets the exception mask on the FPU control word.SetPrecisionMode functionSets the FPU precision control mode.SetRoundMode functionSets the FPU rounding mode.Sign functionIndicates whether a numeric value is positive, negative, or zero.
Secant Sec(X) = 1 / Cos(X)
Cosecant Cosec(X) = 1 / Sin(X)
Cotangent Cotan(X) = 1 / Tan(X)
Inverse Sine Arcsin(X) = Atn(X / Sqr(-X * X + 1))
Inverse Cosine Arccos(X) = Atn(-X / Sqr(-X * X + 1)) + 2 * Atn(1)
Inverse Secant Arcsec(X) = Atn(X / Sqr(X * X - 1)) + Sgn((X) -1) * (2 * Atn(1))
Inverse Cosecant Arccosec(X) = Atn(X / Sqr(X * X - 1)) + (Sgn(X) - 1) * (2 * Atn(1))
Inverse Cotangent Arccotan(X) = Atn(X) + 2 * Atn(1)
Hyperbolic Sine HSin(X) = (Exp(X) - Exp(-X)) / 2
Hyperbolic Cosine HCos(X) = (Exp(X) + Exp(-X)) / 2
Hyperbolic Tangent HTan(X) = (Exp(X) - Exp(-X)) / (Exp(X) + Exp(-X))
Hyperbolic Secant HSec(X) = 2 / (Exp(X) + Exp(-X))
Hyperbolic Cosecant HCosec(X) = 2 / (Exp(X) - Exp(-X))
Hyperbolic Cotangent HCotan(X) = (Exp(X) + Exp(-X)) / (Exp(X) - Exp(-X))
Inverse Hyperbolic Sine HArcsin(X) = Log(X + Sqr(X * X + 1))
Inverse Hyperbolic Cosine HArccos(X) = Log(X + Sqr(X * X - 1))
Inverse Hyperbolic Tangent HArctan(X) = Log((1 + X) / (1 - X)) / 2
Inverse Hyperbolic Secant HArcsec(X) = Log((Sqr(-X * X + 1) + 1) / X)
Inverse Hyperbolic Cosecant HArccosec(X) = Log((Sgn(X) * Sqr(X * X + 1) +1) / X)
Inverse Hyperbolic Cotangent HArccotan(X) = Log((X + 1) / (X - 1)) / 2
Logarithm to base N LogN(X) = Log(X) / Log(N)
Abs 函数 绝对值函数
AddExitProc 函数 将一过程添加到运行时库的结束过程表中
Addr 函数 返回指定对象的地址
AdjustLineBreaks 函数 将给定字符串的行分隔符调整为CR/LF序列
Align 属性 使控件位于窗口某部分
Alignment 属性 控件标签的文字位置
AllocMem 函数 在堆栈上分配给定大小的块
AllowGrayed 属性 允许一个灰度选择
AnsiCompareStr 函数 比较字符串(区分大小写)
AnsiCompareText 函数 比较字符串(不区分大小写)
AnsiLowerCase 函数 将字符转换为小写
AnsiUpperCase 函数 将字符转换为大写
Append 函数 以附加的方式打开已有的文件
ArcTan 函数 余切函数
AssignFile 函数 给文件变量赋一外部文件名
Assigned 函数 测试函数或过程变量是否为空
AutoSize 属性 自动控制标签的大小BackgroundColor 属性 背景色
BeginThread 函数 以适当的方式建立用于内存管理的线程
BevelInner 属性 控件方框的内框方式
BevelOuter 属性 控件方框的外框方式
BevelWidth 属性 控件方框的外框宽度
BlockRead 函数 读一个或多个记录到变量中
BlockWrite 函数 从变量中写一个或多个记录
BorderStyle 属性 边界类型
BorderWidth 属性 边界宽度
Break 命令 终止for、while、repeat循环语句
Brush 属性 画刷Caption 属性 标签文字的内容
ChangeFileExt 函数 改变文件的后缀
ChDir 函数 改变当前目录
Checked 属性 确定复选框选中状态
Chr 函数 返回指定序数的字符
CloseFile 命令 关闭打开的文件
Color 属性 标签的颜色
Columns 属性 显示的列数
CompareStr 函数 比较字符串(区分大小写)
Concat 函数 合并字符串
Continue 命令 继续for、while、repeat的下一个循环
Copy 函数 返回一字符串的子串
Cos 函数 余弦函数
Ctl3D 属性 是否具有3D效果
Cursor 属性 鼠标指针移入后的形状Date 函数 返回当前的日期
DateTimeToFileDate 函数 将DELPHI的日期格式转换为DOS的日期格式
DateTimeToStr 函数 将日期时间格式转换为字符串
DateTimeToString 函数 将日期时间格式转换为字符串
DateToStr 函数 将日期格式转换为字符串
DayOfWeek 函数 返回星期的数值
Dec 函数 递减变量值
DecodeDate 函数 将日期格式分解为年月日
DecodeTime 函数 将时间格式分解为时、分、秒、毫秒
Delete 函数 从字符串中删除子串
DeleteFile 命令 删除文件
DiskFree 函数 返回剩余磁盘空间的大小
DiskSize 函数 返回指定磁盘的容量
Dispose 函数 释放动态变量所占的空间
DisposeStr 函数 释放字符串在堆栈中的内存空间
DitherBackground 属性 使背景色的色彩加重或减少50%
DragCursor 属性 当鼠标按下时光标的形状
DragMode 属性 按动的作用方式
DropDownCount 属性 容许的显示数据项的数目EditMask 属性 编辑模式
Enabled 属性 是否使标签呈现打开状态
EncodeDate 函数 将年月日合成为日期格式
EncodeTime 函数 将时、分、秒、毫秒合成为时间格式
EndMargin 属性 末尾边缘
Eof 函数 对有类型或无类型文件测试是否到文件尾
Eoln 函数 返回文本文件的行结束状态
Erase 命令 删除外部文件
ExceptAddr 函数 返回引起当前意外的地址
Exclude 函数 从集合中删除一些元素
ExceptObject 函数 返回当前意外的索引
Exit 命令 立即从当前的语句块中退出
Exp 函数 指数函数
ExpandFileName 函数 返回包含绝对路径的字符串
ExtendedSelect 属性 是否允许存在选择模式,True时,MultiSelect才有意义
ExtractFileDir 函数 返回驱动器和路径
ExtractFileExt 函数 返回文件的后缀
ExtractFileName 函数 返回文件名
ExtractFilePath 函数 返回指定文件的路径
FileAge 函数 返回文件已存在的时间
FileClose 命令 关闭指定的文件
FileCreate 命令 用指定的文件名建立新文件
FileDateToDateTime 函数 将DOS的日期格式转换为DELPHI的日期格式
FileExists 函数 检查文件是否存在
FileGatAttr 函数 返回文件的属性
FileGetDate 函数 返回文件的DOS日期时间标记
FileOpen 命令 用指定的存取模式打开指定的文件
FilePos 函数 返回文件的当前指针位置
FileRead 命令 从指定的文件读取
FileSearch 命令 在目录中搜索指定的文件
FileSeek 函数 改变文件的指针
FileSetAttr 函数 设置文件属性
FileSetDate 函数 设置文件的DOS日期时间标记
FileSize 函数 返回当前文件的大小
FileWrite 函数 对指定的文件做写操作
FillChar 函数 用指定的值填充连续字节的数
FindClose 命令 终止FindFirst/FindNext序列
FindFirst 命令 对指定的文件名及属性搜索目录
FindNext 命令 返回与文件名及属性匹配的下一入口
FloatToDecimal 函数 将浮点数转换为十进制数
FloatToStrF 函数 将浮点数转换为字符串
FloatToStr 函数 将浮点数转换为字符串
FloatToText 函数 将给定的浮点数转换为十进制数
FloatToTextFmt 函数 将给定的浮点数转换为十进制数
Flush 函数 将缓冲区的内容刷新到输出的文本文件中
FmtLoadStr 函数 从程序的资源字符串表中装载字符串
FmtStr 函数 格式化一系列的参数,其结果以参数Result返回
Font 属性 设置字体
Format 函数 格式化一系列的参数并返回Pascal字符串
FormatBuf 函数 格式化一系列的参数
FormatDateTime 函数 用指定的格式来格式化日期和时间
FormatFloat 函数 指定浮点数格式
Frac 函数 返回参数的小数部分
FreeMem 函数 按给定大小释放动态变量所占的空间GetDir 返回指定驱动器的当前目录
GetHeapStatus 返回内存管理器的当前状态
GetMem 建立一指定大小的动态变量,并将指针指向该处
GetMemoryManager 返回内存管理器的入口点
Glyph 函数 按钮上的图象Halt 停止程序的执行并返回到操作系统
Hi 返回参数的高地址位
High 返回参数的上限值
Hint 属性 提示信息Int 返回参数的整数部分
Include 添加元素到集合中
Insert 在字符串中插入子串
IntToHex 将整型数转换为十六进制数
IntToStr 将整型数转换为字符串
IOResult 返回最新的I/O操作完成状态
IsValidIdent 测试字符串是否为有效的标识符
Items 属性 默认显示的节点Kind 属性 摆放样式LargeChange 属性 最大改变值
Layout 属性 图象布局
Length 函数 返回字符串的动态长度
Lines 属性 缺省显示内容
Ln 函数 自然对数函数
Lo 函数 返回参数的低地址位
LoadStr 函数 从应用程序的可执行文件中装载字符资源
LowerCase 函数 将给定的字符串变为小写
Low 函数 返回参数的下限值Max 属性 最大值
MaxLength 属性 最大长度
Min 属性 最小值
MkDir 命令 建立一子目录
Move 函数 从源到目标复制字节
MultiSelect 属性 允许同时选择几个数据项
New 函数 建立新的动态变量并设置一指针变量指向他
NewStr 函数 在堆栈上分配新的字符串
Now 函数 返回当前的日期和时间
Odd 测试参数是否为奇数
Ord 返回序数类的序数
OutlineStyle 属性 类型
OutOfMemoryError 引起OutOfMemory意外
PageIndex 属性 页索引
Pages 属性 页
ParamCount 函数 返回在命令行上传递给程序的参数数量
ParamStr 函数 返回指定的命令行参数
Pen 属性 画刷设置
Pi 函数 返回圆周率Pi
Picture 属性 显示图象
PictureClosed 属性 设置Closed位图
PictureLeaf 属性 设置Leaf位图
PictureMinus 属性 设置Minus位图
PictureOpen 属性 设置Open位图
PicturePlus 属性 设置Plus位图
Pos 函数 在字符串中搜索子串
Pred 函数 返回先前的参数
Random 函数 返回一随机函数
Randomize 函数 用一随机数初始化内置的随机数生成器
Read 函数 对有格式的文件,读一文件组件到变量中;
对文本文件,读一个或多个值到一个或多个变量中
Readln 函数 执行Read过程,然后跳到文件下一行
ReadOnly 属性 只读属性
ReAllocMem 函数 分配一动态变量
Rename 函数 重命名外部文件
RenameFile 函数 对文件重命名
Reset 函数 打开已有的文件
Rewrite 函数 建立并打开一新的文件
RmDir 函数 删除空的子目录
Round 函数 将实数值舍入为整型值
RunError 函数 停止程序的执行
ScrollBars 属性 滚动条状态
Seek 函数 将文件的当前指针移动到指定的组件上
SeekEof 函数 返回文件的文件结束状态
SeekEoln 函数 返回文件的行结束状态
SelectedColor 属性 选中颜色
SetMemoryManager 函数 设置内存管理器的入口点
SetTextBuf 函数 给文本文件指定I/O缓冲区
Shape 属性 显示的形状
ShowException 函数 显示意外消息与地址
Sin 函数 正弦函数
SizeOf 函数 返回参数所占的字节数
SmallChange 属性 最小改变值
Sorted 属性 是否允许排序
Sqr 函数 平方函数
Sqrt 函数 平方根函数
StartMargin 属性 开始边缘
State 属性 控件当前状态
Str 函数 将数值转换为字符串
StrAlloc 函数 给以NULL结束的字符串分配最大长度-1的缓冲区
StrBufSize 函数 返回存储在由StrAlloc分配的字符缓冲区的最大字符数
StrCat 函数 将一字符串附加到另一字符串尾并返回合并的字符串
StrComp 函数 比较两个字符串
StrCopy 函数 将一个字符串复制到另一个字符串中
StrDispose 函数 释放堆栈上的字符串
StrECopy 函数 将一字符串复制到另一个字符串并返回结果字符串尾部的指针
StrEnd 函数 返回指向字符串尾部的指针
Stretch 属性 自动适应控件的大小
StrFmt 函数 格式化一系列的参数
StrIComp 函数 比较两个字符串(不区分大小写)
StringToWideChar 函数 将ANSI字符串转换为UNICODE字符串
StrLCat 函数 将一字符串中的字符附加到另一字符串尾并返回合并的字符串
StrLComp 函数 以最大长度比较两个字符串
StrLCopy 函数 将一个字符串中的字符复制到另一个字符串中
StrLen 函数 返回字符串中的字符数
StrLFmt 函数 格式化一系列的参数,其结果中包含有指向目标缓冲区的指针
StrLIComp 函数 以最大长度比较两个字符串(不区分大小写)
StrLower 函数 将字符串中的字符转换为小写
StrMove 函数 将一个字符串中的字符复制到另一个字符串中
StrNew 函数 在堆栈上分配一个字符串
StrPas 函数 将以NULL结束的字符串转换为PASCAL类的字符串
StrPCopy 函数 将PASCAL类的字符串复制为以NULL结束的字符串
StrPLCopy 函数 从PASCAL类的最大长度字符串复制为以NULL结束的字符串
StrPos 函数 返回一个字符串在另一个字符串中首次出现指针
StrRScan 函数 返回字符串中最后出现字符的指针
StrScan 函数 返回字符串中出现首字符的指针
StrToDate 函数 将字符串转换为日期格式
StrToDateTime 函数 将字符串转换为日期/时间格式
StrToFloat 函数 将给定的字符串转换为浮点数
StrToInt 函数 将字符串转换为整型
StrToIntDef 函数 将字符串转换为整型或默认值
StrToTime 函数 将字符串转换为时间格式
StrUpper 函数 将字符串中的字符转换为大写
Style 属性 类型选择
Suce 函数 返回后继的参数
Swap 函数 交换参数的高低地址位
Tabs 属性 标记每一项的内容
TabIndex 属性 标记索引
Text 属性 显示的文本
TextToFloat 函数 将字符串(以NULL结束的格式)转换为浮点数
Time 函数 返回当前的时间
TimeToStr 函数 将时间格式转换为字符串
Trim 函数 从给定的字符串中删除前导和尾部的空格及控制字符
TrimLeft 函数 从给定的字符串中删除首部的空格及控制字符
TrimRight 函数 从给定的字符串中删除尾部的空格及控制字符
Trunc 函数 将实型值截取为整型值
Truncate 函数 截去当前文件位置后的内容
UnSelectedColor 属性 未选中颜色
UpCase 将字符转换为大写
UpperCase 将给定的字符串变为大写
Val 函数 将字符串转换为整型值
VarArrayCreate 函数 以给定的界限和维数建立变体数组
VarArrayDimCount 函数 返回给定变体的维数
VarArrayHighBound 函数 返回给定变体数组维数的上界
VarArrayLock 函数 锁定给定的变体数组
VarArrayLowBound 函数 返回给定变体数组维数的下界
VarArrayOf 函数 返回指定变体的数组元素
VarArrayRedim 函数 通过改变上限来调整变体的大小
VarArrayUnlock 函数 解锁指定的变体数组
VarAsType 函数 将变体转换为指定的类型
VarCase 函数 将变体转换为指定的类型并保存他
VarClear 函数 清除指定的变体
VarCopy 函数 将指定的变体复制为指定的变体
VarFormDateTime 函数 返回包含日期时间的变体
VarIsArray 函数 测试变体是否为数组
VarIsEmpty 函数 测试变体是否为UNASSIGNED
VarIsNull 函数 测试变体是否为NULL
VarToDateTime 函数 将给定的变体转换为日期时间
VarType 函数 将变体转换为指定的类型并保存他
Visible 属性 控件的可见性
WantReturns 属性 为True时,按回车键产生一个回车符;
为False时,按下Ctrl+Enter才产生回车符
Write 命令 对有格式的文件,写一变量到文件组件中;
对文本文件,写一个或多个值到文件中
Writeln 命令 执行WRITE过程,然后输出一行结束标志
WideCharLenToString 函数 将ANSI字符串转换为UNICODE字符串
WideCharLenToStrWar 函数 将UNICODE字符串转换为ANSI字符串变量
WideCharToString 函数 将UNICODE字符串转换为ANSI字符串
WideCharToStrVar 函数 将UNICODE字符串转换为ANSI字符串变量