If #x^2=9#, then what is the value of x?