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

Flowchart, create a flowchart showing average score for the 3 quizzes assum...

create a flowchart showing average score for the 3 quizzes assume that there are 3 sections each having 5 students the only valid number to be entered is 1-100 for the quizzes shou

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

what is the need of a port in a computer?

Programming Project 1, Programming Project You will implement 2 algorithms...

Programming Project You will implement 2 algorithms to solve the single source shortest paths problem, Bellman-Ford Algorithm and Dijkstra''s algorithm Allowed programming languag

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

Opening documents situated on different computers - network, Opening Docume...

Opening Documents Situated on Different Computers In order to work with documents situated on other computers, you need sufficient rights to access the folder in which it is

Inforamtion infrastructure and services, benefit a company derive from mana...

benefit a company derive from managing it own information technology

Data communications, Data communication as a need developed in the 1960s wi...

Data communication as a need developed in the 1960s with the interconnection of peripheral devices to mainframe computers. Within the immediate vicinity of the mainframe computer t

CAI, explain CAI pitfalls

explain CAI pitfalls

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

Frequency and bandwidth, Frequency and Bandwidth: Let us try to unders...

Frequency and Bandwidth: Let us try to understand a little about how information is transmitted. The information may be in the form of sound (human voice, music) or it may be

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