snehathapa193 snehathapa193
  • 16-02-2022
  • Computers and Technology
contestada

algorithm to find out average of 4 numbers​

Respuesta :

shuaiballie882
shuaiballie882 shuaiballie882
  • 16-02-2022

Answer:

answer = range(1,5)

print(AVG(answer))

Explanation:

python script

Answer Link
jujuuszaa
jujuuszaa jujuuszaa
  • 16-02-2022
As for averaging just four numbers, that's just a formula, say the numbers are a, b, c, d, then their average is simply x^ := (a + b + c + d)/4. This assumes you're talking about arithmetic average, i.e., the number x^ that, when replacing each of the values of which you compute the average, yields the same sum.
Answer Link

Otras preguntas

If alpha and beta are the zeroes of quadratic polynomial ax^2+bx+c , then find alpha^4+beta^4
A bag holds the letters A, T, H, and M. Ellie selects each tile at random, one tile at a time. What is the probability that she selects the letters in the order
Can someone answer 33 please?!
a number cube with sides labeled 1 through 6 is rolled 2 time and the sum of the number that end up faced are calculated.What is the probability that the sum of
what adds up to -11 but multiplies to 10?
what deal dose khrushchev propose to kennedy?
What role did the idea of states rights play in the civil war?
Plz show or tell me how to show my work for my answer for question 44?
Which of the following objects conducts heat the best? A. a metal spoon B. hot soup C. the gas in a hot air balloon D. There is no difference in the
Explain if this statement is true or false: Tidal energy comes solely from the force of rising tides.