When referring to one of the bits of data supplied as input to a function, a parameter is a particular type of variable.
The base of a power function, however, is raised to a fixed exponent from a variable base. Simple scaling is accomplished using the parameter a, which raises or lowers the values of xb as a changes. The exponent or power of the parameter b affects the pace of growth or decay of the function.
A base's nth power, let's say "y," is the result of multiplying the base by itself n times. The fifth power of y is y*y*y*y*y, if we are to locate it.We can easily calculate power in R by using the power operator, which will also be used to create power sequences.
long power(int x, int n)
{
if(n==0)
return 1;
else{
return x* power(x, n-1);
}
}
To learn more about parameters refer to :
https://brainly.com/question/28249912
#SPJ4