start by getting all the n terms on one side, the rest on the other:
(n-1)d = b-a
then unwind the expressions till n is left alone:
n-1 = (b-a)/d
n = 1 + (b-a)/d
if b= a+(n-1)d, how do you solve for n?
1 answer
1 answer