Triangle ABC is a right triangle and cos(22.6o)=B/13. Solve for b and round to the nearest whole number.
Which equation correctly uses the value of b to solve for a?

tan(22.6o) = a/13
tan(22.6o) =13/a
tan(22.6o) = a/12
tan(22.6o) = 12/a