Часть 1:
1. S(58) = ( a(1) + a(58) ) / 2 * 58 = ( 2 - 5 ) / 2 * 58 = -87
2. S(9) = ( a(1) + a(9) ) / 2 * 9 = ( 2 * a(1) + d * ( n - 1 ) ) / 2 * 9 = ( 2 * 4 - 4 * ( 9 - 1 ) ) / 2 * 58 = -696
3. S(12) = ( a(1) + a(12) ) / 2 * 12 = ( ( a(2) - d ) + ( a(4) - 3 * d) / 2 * 12 = ( ( 15 + 2,5 ) + ( 10 + 3 * 2,5 ) / 2 * 12 = 210, т.к. d = ( a(4) - a(2) ) / 2 = ( 10 - 15 ) / 2 = -2,5
4. h = H - S(7) = H - ( a(1) + a(7) ) / 2 * 7) = H - ( 2 * a(1) + 6 * d ) / 2 * 7 = 300 - ( 2 * 11 + 6 * 9,8 ) / 2 * 7 = 300 - 282,8 = 17,2 м
Часть 3:
8. S(45) = ( a(1) + a(45) ) / 2 * 45 = ( 11 + 101 ) /2 * 45 = 2520