I'm trying to do a calculation where 125+20*floor(wave/10) Where Floor is (Wave/10). X Would represent Wave, being the variable. I want to find the combined values of this equation where x is equal to 1-50. EXAMPLE If x = 1 then 125+20*.1 (127) + If x = 2 then 125+20*.2 (129) For a Total of 256. I wish to find the total for all the way up to x=50
I'm trying to do a calculation where 125+20*floor(wave/10) Where Floor is (Wave/10). X Would represent Wave, being the variable. I want to find the combined values of this equation where x is equal to 1-50. EXAMPLE If x = 1 then 125+20*.1 (127) + If x = 2 then 125+20*.2 (129) For a Total of 256. I wish to find the total for all the way up to x=50
\(f(x)=125+20* \frac{ x}{10} \\f(x)= 125+2x\\~\\ f(1)=125+2=127\\ f(2)=125+4=129\\ ....\\ f(50)=125+2*50=225\)
You want
127+129+131+ ...... +225 OR Term 1 up to term 50
This is the sum of an AP and the formula is
\(S_n=\frac{n}{2}(a+L)\\ S_{50}=\frac{50}{2}(127+225)\\ S_{50}=25*(352)\\ S_{50}=8800\ \)