Question: You have found empirically that the implemented sorting methods $A$ of complexity $\Theta(n^3)$ and $B$ of complexity $\Theta(n^2 \log n)$ spent $2$ and $10$ time units, respectively, to sort an array of $100$ objects. Find out how many time units will each algorithm spend for sorting an array of $1\,000\,000$ objects?
For this question can I say that the time spent by these implementations can be written as $T_A(n) = c_A n^3$ and $T_B(n) = c_B n^2 \log n$, therefore continue to solve $c$ using given numbers?