1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
gogolik [260]
2 years ago
12

Design an algorithm for computing √n

Engineering
1 answer:
a_sh-v [17]2 years ago
8 0
Positive integer n design an algorithm
You might be interested in
A program contains the following function definition: int cube(int number) { return number * number * number; } Write a stateme
Nonamiya [84]

Answer:

The statement can be written as

int result = cube(4);

Explanation:

A function is a block of reusable codes to perform some tasks. For example, the function in the question is to calculate the cube of a number.

A function can also operate on one or more input value (argument) and return a result. The <em>cube </em>function in the question accept one input value through its parameter <em>number </em>and the <em>number</em> will be multiplied by itself twice and return the result.  

To call a function, just simply write the function name followed with parenthesis (e.g. <em>cube()</em>). Within the parenthesis, we can include zero or one or more than one values as argument(s) (e.g. <em>cube(4)</em>).

We can then use the "=" operator to assign the return output of the function to a variable (e.g. <em>int result = cube(4)</em>)

8 0
3 years ago
Whats viruses c liver?
PtichkaEL [24]

Answer:

Hepatitis C is a viral infection that causes liver inflammation, sometimes leading to serious liver damage. The hepatitis C virus (HCV) spreads through contaminated blood.

5 0
2 years ago
Read 2 more answers
What is the gear ratio of the given train
Olin [163]

Answer:

1/4

Explanation:

.......................

7 0
2 years ago
Which one is suitable for industries petrol engine or diesel engine and why?
klio [65]

Answer:

diesel engine

Explanation:

because diesel is stronger than petrol

3 0
3 years ago
Read 2 more answers
I want to solve the question
DedPeter [7]

Answer:

yes.

Explanation:

5 0
3 years ago
Other questions:
  • Water at 20 bar and 400 C enters a turbine operating at steady state and exits at 1.5 bar. Stray heat transfer and kinetic and p
    14·1 answer
  • Assume that price is an integer variable whose value is the price (in US currency) in cents of an item. Assuming the item is pai
    11·1 answer
  • Air enters the compressor of an ideal Brayton refrigeration cycle at 100 kPa, 270 K. The compressor pressure ratio is 3, and the
    13·1 answer
  • Explain how a CO2 cartridge powers the dragster you will be building. A good website to use is How Stuff Works. (howstuffworks.c
    7·2 answers
  • If a toy car covers a distance of 42m in 7sec, what is it’s speed
    9·2 answers
  • i need jacket for my daughter who will be going on a girls scouts camping trip it cannot be bulky because she is limited to one
    8·2 answers
  • Consider coaxial, parallel, black disks separated a distance of 0.20 m. The lower disk of diameter 0.40 m is maintained at 500 K
    13·1 answer
  • Drag each label to the correct location on the chart. Classify the organisms based on how they obtain food.
    14·2 answers
  • What happens to the electrolyte, during discharging?
    9·1 answer
  • The Imager for Mars Pathfinder (IMP) is an imaging system. It has two camera channels. Each channel has color capability. This i
    7·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!