Make r the subject s=p(1+r)^n

1 answer

see below