plot log(n), sqrt(n) from 1 to 1000