Answer:
Written in Python
def sums(n):
total = 0
for i in range(1,n+1):
if i%2 == 0:
total = total + i*2
else:
total = total + i
return(total)
Step-by-step explanation:
The function is written in Python
def sums(n):
This initializes total to 0
total = 0
This iterates through the integers that makes up n i.e. 1,2,3.....n
for i in range(1,n+1):
This checks if current digit is even
if i%2 == 0:
If yes, it adds the double of the digit
total = total + i*2
else:
If otherwise, it adds the digit
total = total + i
This prints the calculated sum or total
return(total)
To call the function from main, use the following:
print(sums(n))
Where n is a positive integer. i.e. 
3(a + b) the answer to the question
Answer:
-3/17
Step-by-step explanation:
(7,1) and (-10,4)
slope formula: m = (y₂ - y₁) / (x₂ - x₁)
plug in data: m = (4 - 1) / (-10 - 7)
solve: 3 / -17
simplify: -3/17 (written as a fraction)
<u><em>Answer:</em></u>
Section 1: 5.59%
Section 2: -2.16%
Section 3: -10.82%
Section 4: -6.54%
Section 5: -2.16%
Section 6: 7.86%
<u><em>Explanation:</em></u>
<u>The formula to calculate the percent change in mass is given as:</u>

<u>1- Section 1:</u>
Old mass = 7.83 g and New mass = 8.268 g
5.59%
<u>2- Section 2:</u>
Old mass = 7.4 g and New mass = 7.24 g
-2.16%
<u>3- Section 3:</u>
Old mass = 7.3 g and New mass = 6.51 g
-10.82%
<u>4- Section 4:</u>
Old mass = 7.49 g and New mass = 7.0 g
-6.54%
<u>5- Section 5:</u>
Old mass = 7.4 g and New mass = 7.24 g
-2.16%
<u>6- Section 6:</u>
Old mass = 7.89 g and New mass = 8.51 g
7.86%
Hope this helps :)