Can we write it like this?

#y= x^2+16#

While taking the log on both sides which one of the following is the correct way to take log?

#log y = log(x^2 + 16)#

OR

#logy= logx^2+ log 16#