I understand the concept of using the elementary operations. However, I just can not understand how to apply these (Doh):
Step 1 Set S= a , K= 0 and t= a
Step 2 While K < n
a.) t = t + d
b.) S= S + t
c.) K = K + 1
Step 3 Print S.
I'm needing to find out how many elementary operation I will use.
I hope I done this right: