When defining your function, do not put any arguments in the definition (e.g. function myFuntion()).
Inside the function, you can use func_num_args() and func_get_arg($number) to get the function's arguments.
The rule that determines the output number based on the input number is known as a function. For example take the function: f(x) = x+1. F is the name of our function, x is the input number, and f(x) is our output number. So if our input number is 3, our function or "rule" says to add one to it. Therefore, f(x), known as the output number, would be 4 since 3+1 = 4.
Variables don't have inputs. A variable is a named memory location where a value may be read or written. You write a variable by assigning a value to it. The value may be obtained from user-input.
It is a function with fractions as output.
Edit Component
yes it is. http://www58.wolframalpha.com/input/?i=is+151+a+prime+number%3F
No.
You cannot.
Independent variable
domain
The abscissa is the independent variable (or input) to a function.
an input variable is an input variable
Suppose a function takes values of a variable, X, as its input, and that it converts it into an output value Y.Then the graph of the function, in the X-Y coordinate plane, is the set of all points (x, y) such that when you input the value x into the function, the output is y.Suppose a function takes values of a variable, X, as its input, and that it converts it into an output value Y.Then the graph of the function, in the X-Y coordinate plane, is the set of all points (x, y) such that when you input the value x into the function, the output is y.Suppose a function takes values of a variable, X, as its input, and that it converts it into an output value Y.Then the graph of the function, in the X-Y coordinate plane, is the set of all points (x, y) such that when you input the value x into the function, the output is y.Suppose a function takes values of a variable, X, as its input, and that it converts it into an output value Y.Then the graph of the function, in the X-Y coordinate plane, is the set of all points (x, y) such that when you input the value x into the function, the output is y.
You replace the relevant variable with -2, and do any calculation, lookup, etc., specified in the function definition.
the output of a function; a variable whose value depends on the value of the input.
the output of a function; a variable whose value depends on the value of the input.
the output variable is called the dependent variable. For example the function y = f(x) = 3x here x is independent and y is dependent; y changes when you change x
It is not a linear function because it is missing x as the input variable