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

ASSIGNMENTS, A STAIRCASE LIGHT IS CONTROLLED BY TWO SWITCHES ONE AT THE TOP...

A STAIRCASE LIGHT IS CONTROLLED BY TWO SWITCHES ONE AT THE TOP OF THE STAIRS AND ANOTHER AT THE BOTTOM OF STAIRS

#title., what is input and output device? explain meaning of input and outp...

what is input and output device? explain meaning of input and output devices

What is a search engine? explain its various parts, Question 1 What are th...

Question 1 What are the dos and don'ts of Internet Reporting? Question 2 Write a long note on the later years of journalism in USA Question 3 What is a search engi

What is blu-ray disk, Question 1 Explain the configuration steps involved ...

Question 1 Explain the configuration steps involved in CMOS setup Date and time Error halt Floppy drive A Halt on Hard disk C HDD Delay Keyboard Memory

On-line and realtime systems, On-line and Realtime Systems An on-line s...

On-line and Realtime Systems An on-line system means that input and output devices are directly connected to the CPU irrespective of geographical location. Thus the user can di

Networking, what is Metropolitan area network?

what is Metropolitan area network?

Output, what is output and input

what is output and input

Open source software, Open Source Software: Open Source Software (OSS)...

Open Source Software: Open Source Software (OSS) is software that comes with source code, and importantly also provides rights (typically reserved for copyright holders) to st

Information security, can someone balance between information security and ...

can someone balance between information security and access, if yes,how can they balance?

Elements of programming language, ELEMENTS OF PROGRAMMING LANGUAGE:  L...

ELEMENTS OF PROGRAMMING LANGUAGE:  Learning a programming language requires understanding of concepts such as representation of different types of data in the computer, the va

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