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

What is a tool bar?, Question 1 Write short notes on                      ...

Question 1 Write short notes on                           (a) Office Automatics System                           (b) Transaction Processing System Question 2 What is a too

Algorithm, to print first n even numbers

to print first n even numbers

Digital logic design, Find the complement of the following decimal 7

Find the complement of the following decimal 7

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

Explain data transfer and arithmetic operations, Question 1 Convert the fo...

Question 1 Convert the following binary numbers to decimal 101110 1110101 110110 101010 110010 Question 2 Explain CPU module and types of transfers betwe

Give a preliminary design for the mobile phone, Question: Imagine that ...

Question: Imagine that you are part of a design team creating a new mobile phone for people such as "Angel White" whose persona is given below: Angel is turning 90 years old

Display the item in red colour on a web page, QUESTION (a) Give the app...

QUESTION (a) Give the appropriate syntax to implement a Client-Side Image Map, specifying all possible attributes where required (b) List the benefits of using Cascading Sty

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