Geometric mean - algorithm, Basic Computer Science

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

Posted Date: 8/29/2012 4:20:16 AM | Location : United States

Related Discussions:- Geometric mean - algorithm, Assignment Help, Ask Question on Geometric mean - algorithm, Get Answer, Expert's Help, Geometric mean - algorithm Discussions

Write discussion on Geometric mean - algorithm
Your posts are moderated
Related Questions
outline and explain in detail any 10 application areas of

Device Drivers:   Device drivers are shared computer programs that provide an interface between the hardware devices and operating system or other higher level programs.

Trap doors:  This is a way of bypassing normal authentication procedure (windows/ operating system user name  and password) to access a system. Once a system is compromised (impac

to do a assignment regarding IPC in linux

Question 1 Explain Wireless Protocol Requirements and also explain in brief medium access control protocol Question 2 Explain FDMA and TDMA concepts Question 3 Exp

PROGRAMMABLE ROM (PROM): The user can program a PROM after purchase.  Each memory bit element in the PROM contains a nichrome or silicon link that acts as a fuse.  The user can

INTERNET Internet: The global network of computers linked by exclusive and regular phone lines and microwave and satellite signals. Extranet: An extranet is the part of

Research and Development  All intellectual activities consciously pursued and systematically completed generate useful information. Research (also Research and Development) is

Question 1 Convert the following hexadecimal numbers to base 2 (D73)16 (A21)16 Question 2 Convert the following binary numbers to base 16 (11001011)2 (11

They straightforwardly affect the content of the flags. CLC CLD CLI CMC STC STD STI CLC INSTRUCTION Reason: To uncontaminated the cartage flag. Syntax: CLC This instruction turning