V=B-q/k In(r-1): Make r the subject.

Printable View