For Q2) and Q3) use the following formulas as necessary:
n(n+1) 2
n(n+1)(2n+1) 6
*** In order to receive marks your approach must rely on sigma notation, summation properties and usage of given formula(s). *** Answers based on combinatorics will not be accepted.
Consider the following programming segment:<
time = 2000;-
for (i = 1; i <= n+3 ; i++){< time = time + l0;e for (k = 4; k <= i+8; k++){< time = time + 24k; }<
2
Find the value of the variable t ime (in terms of n) after the programming segment is executed. Your formula must be in the simplest form, fully expanded and terms combined.
(E.g.time = 7n2 +4n + 9)<
time