Hello everyone, i want to do the summation below:

x1= a0*x0
x2= x1+ a1*x1

x3= x1 + x2 + a2*x2 and so on............

supose we know x0 = 2; a0=1 ; a1 = 3; a2 = 2;

how do i use for loop to do this?

should i keep it in array?

thanks inadvance

This topic has been dead for over six months. Start a new discussion instead.

Recommended Topics