<span>p ← 1
s ← 0
for i is in {1, 2, 3, 4}
do p ← p · 3
s ← s + p
n = 1 => first iteration
p = 1 * 3 = 3
s = 0 + 3 = 3
number of multiplications ---> 1
n = 2
p = 3 * 3 = 9
s = 3 + 9 = 12
number of multiplications ----> 1 + 1 = 2
n = 3
p = 9 * 3 = 27
s = 12 + 27 = 39
number o multiplications --> 2 + 1 = 3
n = 4
p = 27 * 7 = 81
s = 39 + 81 = 120
final number of multiplications -----> 3 + 1 = 4
final value of s
s = 120
Answer: number of mujltiplications: 4
final value of s: s = 120.
</span>
Answer:
Excuse me what do u mean
Step-by-step explanation:
Option B (22,16,18,36)
Mean- Mean is an average of the data collected in the data set. It can be found by dividing the sum of the values by the number of values. Median is the middle value of the data set when the values are placed in order from least to greatest.
It is easy to calculate: add up all the numbers, then divide by how many numbers there are.
Add all the numbers (22+16+18+36) = 92
Avarage = sum of the all given numbers/ total numbers
total numbers =4
so avarage= mean= 92/4 =23
(22,16,18,36) has the most spread because one number as low as 16 and one as high as 36. Our mean is 23, so that means that the spread is huge.
Hence the answer is (22,16,18,36).
For more information about Mean
visit : brainly.com/question/1635504
#SPJ9
Answer:
The answer is 34
Step-by-step explanation:
<h3>
<u>Given</u>;</h3>
- a₁ = 310
- a₂ = 304
- a₃ = 298
- n = 47
<h3>
<u>To </u><u>Find</u>;</h3>
<h3>
<u>Formula</u>;</h3>
Now,
Common Difference (d)
d = a₂ – a₁ = 304 – 310 = -6
d = a₃ – a₂ = 298 – 304 = -6
Here, common difference is same everywhere
So,
aₙ = a + (n – 1) × d
a₄₇ = 310 + (47 – 1) × (-6)
a₄₇ = 310 + 46 × (-6)
a₄₇ = 310 – 276
a₄₇ = 34
Thus, The 47th term of this sequence is 34.