请输入您要查询的字词:

 

单词 parameter
释义

Parameter

Parameter

In mathematics: a value that is more "built in" to a function. It is similar to a variable, but stays fixed while we use the function.

Example: in this function for the height of a tree the "20" is a parameter:

h(year) = 20 × year

We can change the parameter!

Example: A different tree's growth rate is 30 cm per year, so its function is h(year) = 30 × year

We could even make it more general by writing

h(age, rate) = rate × age


In software: it is the name given to the values that are passed in to a function.

Example: in this function, "val" is a parameter:

function double(val) {
return val*2
}

When we call the function such as double(7), then "7" is called an argument.

See: Variable
随便看

 

数学辞典收录了1200条数学词条,基本涵盖了常用数学知识及数学英语单词词组的翻译及用法,是数学学习的有利工具。

 

Copyright © 2000-2023 Newdu.com.com All Rights Reserved
更新时间:2025/5/13 17:37:45