If f(x)= (1-cosx)/x and g(x)= 2/x on the interval (0,infinity), how would you identify all vertical asymptotes of f and g?

vertical asymptotes where the denominator is zero and the numerator is not.

f has one at x=0
g has one at x=0

wolframalpha.com will draw their graphs.