clc; clear; close; //ex(1) in the series 7,10,13,.... the common difference is 3. 10th trerm is ? nth_term=string('7+(n-1)*3') term10=7+(10-1)*3 //ex(2) i the series 6,2,-2,-6,....and d=-4 nth_term=string('6-(n-1)*4') term8=6+(8-1)*-4