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

Which statement correctly identifies a point on the graph of f–1(x)?
HELP I NEED HELP ASAP
Allow of the following States/Empires had cross-regional connections EXCEPT Abbasald Mali Song Dynasty Inca Empire Streak Sover Music ofl
How does Madame Defarge represent the Idea of fate?
Rhonda graphs a point B in Quadrant I on the coordinate plane, so that point B is 1 1/2 units away from point A.
Is the ordered pair (4,-3) a solution for the following system of linear inequalities? x+y<+1 y<5x-2
Simplify the expression (3a^4) (-6a^3) 
which solid from the data table would float on water? if you can answer asap it would help a lot
What is the image of the point (2, 8) after a rotation of 270 counterclockwise about the origin ?
Write down the first three terms of the sequence n*2 + 2n