Geometric mean - algorithm, Basic Computer Science

Assignment Help:

The geometric mean is obtained by multiplying all the four numbers and taking the fourth root of the product.
Let x1 ,x2,x3 and x4 be the given four numbers then geometric mean =(x1x2x3x4)1/4

Step-by-step procedure (Algorithm) :
1. Read the four number into four locations labelled as x1x2x3 and  x4 

2. Compute PROD name it as A = x1x2x3x4 ( Where PROD means Product).

3. Calculate GM = (A)1/4

4. Print GM is G.

5. Stop

751_flow chart1.png


Related Discussions:- Geometric mean - algorithm

Finite automata, find the regular expression of(a/?)(a/b)?

find the regular expression of(a/?)(a/b)?

File management, File Management:   The concept of a file is central t...

File Management:   The concept of a file is central to the effective use of a computer system. A file is generally loosely defined as a collection of related information such

Explain the types of memory and explain how each work, Problem: a) ...

Problem: a) Explain the basic functions of a computer: inputting, processing, storing and outputting. b) List four types of memory and explain how each wor

Operation research, origin,nature and impact of operation research

origin,nature and impact of operation research

Artificial intelligence agents, Artificial Intelligence Agents: We dis...

Artificial Intelligence Agents: We discussed what we will be talking about in Artificial Intelligence and why those things are important. This chapter is all about how we wi

Evolution of a computer, EVOLUTION OF A COMPUTER: Although 'computer',...

EVOLUTION OF A COMPUTER: Although 'computer', as we understand it today, is relatively of recent innovation, its development rests on centuries' of research. This section pres

Satellite transmission, Satellite Transmission: Satellites use microwa...

Satellite Transmission: Satellites use microwave frequencies and techniques. Satellites used for message transmission (as opposed to those, which travel around the earth on st

Port in a computer, what is the need of a port in a computer?

what is the need of a port in a computer?

Where data could be hidden, QUESTION (a) Being just employed as junior ...

QUESTION (a) Being just employed as junior forensic examiner at SAI computer forensic Ltd, your supervisor told you, ‘hey Moona Tambi, we have received a hard disk for examinat

Write Your Message!

Captcha
Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd