I know this is a stupid question but Im going to ask it anyway
Ive written an iterative algorithm in C (programming language) and wondered how to represent this in maths. For example,
int main(void)
{
int x;
for(x=40; x>0; x/=2)
{
process(x);
}
return 0;
}
So each of the following is put into the equation...
40
20
10
5
2
1
Basically all I want to know is what do you use in maths to represent equating a formula with a range of input values?
We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.