Answer:
5th term of sequence = -18
nth term of the sequence = -5n + 7
Step-by-step explanation:
Difference between successive and previous term of the output,
= -3 - 2
= -5
Similarly, 
= -5
There is a common difference 'd' = (-5)
Therefore, the sequence formed will be an arithmetic sequence.
First term of the sequence 'a' = 2
Explicit formula of an arithmetic sequence,
= a + (n - 1)d [n = input value]
= 2 + (n - 1)(-5)
= 2 - 5n + 5
= -5n + 7
5th term of this sequence,

= 2 - 20
= -18
Therefore, 5th term of sequence = -18
nth term of the sequence = -5n + 7
Answer:
2
I am taking my first programming course, so my apologies if this is a dumb question/possibly classified by the wrong category on this site. One of the exercise problems I am working on is the following:
Define a function print_total_inches, with parameters num_feet and num_inches, that prints the total number of inches. Note: There are 12 inches in a foot. Ex:
print_total_inches(5, 8) prints:
Total inches: 68
Step-by-step explanation:
Approximately 68% of a normal distribution lies within one standard deviation of the mean, so this corresponds to students with scores between (57.5 - 6.5, 57.5 + 6.5) = (51, 64)
Answer:
2.40g + 1.20c ≤15
Step-by-step explanation:
Each liter of goat milk costs $2.40 and each liter of cow's milk costs $1.20
Let g = liters of goats milk
c = liters of cows milk
What we are buying is the liters times the cost
2.40g + 1.20c
This must be less than or equal to 15 dollars
2.40g + 1.20c ≤15