hi, I need help figuring out how the following was calculated:
a quadratic algorithm uses 500 operations to process an input of size 10, how many operations will it use given an input of 1000?
The answer given is 5,000,000 but I can't work out how it was calculated.
Any help appreciated.