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

Memory, why do computer have internal memory as a part of cpu and the inter...

why do computer have internal memory as a part of cpu and the internal bulk memory seprately?

Necessary nurses records, Necessary Nurses Records The software shoul...

Necessary Nurses Records The software should generate all registers/reports in detail summary for various permutations and combinations of options. A powerful SQL (Structure

Memory of computer, Memory : Computers store information internally as wel...

Memory : Computers store information internally as well as externally. Linked to CPU is an internal memory unit where all the instructions and data are stored. It contains the

Cryptography, #questionConsider the one-time pad encryption scheme to encry...

#questionConsider the one-time pad encryption scheme to encrypt a 1-bit message m, and assume m is chosen with uniform distribution from message space M={0,1}. Let E1 be the event

Working of a computer, Working of a Computer Computer may be div...

Working of a Computer Computer may be divided into the following units     Input Unit     Main Memory or Primary Storage Unit     Arithmetic-Logic Unit

System hardware, what problems does one encounter when you have more pipeli...

what problems does one encounter when you have more pipelines?

Fourth generation of computers, THE FOURTH GENERATION (1975 ONWARDS) ...

THE FOURTH GENERATION (1975 ONWARDS) This generation of computers have one or more of the following characteristics:     Semi-conductor memory instead of core memo

IPC in linux, to do a assignment regarding IPC in linux

to do a assignment regarding IPC in linux

Telecommunication networks architecture, Telecommunication Networks Archite...

Telecommunication Networks Architecture is the manner in which the components of thenetwork are organized and integrated to provide telecommunication services to users ofthe netwo

Web browser, Web Browser:   A Web browser is software application that ...

Web Browser:   A Web browser is software application that enables you to find, retrieve, and display information available on the World Wide Web (WWW). Browser also allows you

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