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. 
Which set of ordered pairs represents y as a function of x? A) {(0, 0), (−1, 2), (−1, −2), (−2, 4), (−2, −4)} B) {(0, 0), (1, 1)
valentina_108 [34]
Answer: D
Step-by-step explanation:
No two coordinates can have to same input(x) and different outputs(y)
Answer:

Step-by-step explanation:
We are given the following in the question:
Sample size, n = 67
Variance = 3.85
We have to find 80% confidence interval for the population variance of the weights.
Degree of freedom = 67 - 1 = 66
Level of significance = 0.2
Chi square critical value for lower tail =

Chi square critical value for upper tail =

80% confidence interval:

Putting values, we get,

Thus, (3.13,4.91) is the required 80% confidence interval for the population variance of the weights.
The first step to solve this problem is to convert the first mixed number to an improper fraction.

÷ 3 +

Dividing is equivalent to multiplying with the reciprocal value,, so next you will need to change the signs.

x

+

Multiply the fractions

+

Finally,, add the two fractions together to get your final answer

This means that the correct answer to your question is

.
Let me know if you have any further questions
:)