How do you find the limit of #cos(3x)# as #x->pi#?