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
miv72 [106K]
3 years ago
9

Provide an argument justifying the following claim: The average (as defined here) of two Java ints i and j is representable as a

n int, regardless of the lower and upper bounds on the value of an int.
Engineering
1 answer:
ahrayia [7]3 years ago
3 0

Answer:

public static int average(int j, int k) {

return (int)(( (long)(i) + (long)(j) ) /2 );

}

Explanation:

The above code returns the average of two integer variables

Line 1 of the code declares a method along with 2 variables

Method declared: average of integer data type

Variables: j and k of type integer, respectively

Line 2 calculates the average of the two variables and returns the value of the average.

The first of two integers to average is j

The second of two integers to average is k

The last parameter ensures average using (j+k)/2

You might be interested in
Describe the risks associated with their working environment (such as the tools, materials and equipment that they use, spillage
Llana [10]

The risks which are associated with such working environment and not reporting accidental breakages of tools is pollution and damage to the body system of individuals.

<h3>What is Risk?</h3>

This is defined as the possibility of something causing a bad event to occur and is common in workplace when tools are left carelessly which can cause injuries etc.

In the case of a working environment with oil spills, it can lead to slipping of the individuals present in the area and not reporting accidental breakages of tools or equipment could also lead to pollution and different forms of accident which thereby making it the most appropriate choice in this context.

Read more about Risk here brainly.com/question/1224221

#SPJ1

3 0
2 years ago
Under normal conditions, gauge pressure is ______ absolute pressure.
levacccp [35]

Answer:

Option B  Lower than

Explanation:

Gauge pressure is a relative measurement based on atmospheric pressure. Gauge pressure can be positive if it is above atmospheric pressure or it can also be negative it is below.  On another hand, absolute pressure is an actual pressure in a space and its value has always to be zero or above. Basically absolute pressure is zero if it is in a perfect vacuum. So the measurement of absolute pressure is gauge pressure + atmospheric pressure.  This is the reason in normal condition the gauge pressure = absolute pressure - atmospheric pressure and therefore is lower than absolute pressure

3 0
4 years ago
Briefly discuss if it would be better to operate with pumps in parallel or series and how your answer would change as the steepn
Aleksandr [31]

Answer:

1) In series, the combined head will move from point 1 to point 2 in theory. However, practically speaking, the combined head and flow rate will move along the system curve to point 3.

2) In parallel, the combined head and volume flow will move along the system curve from point 1 to point 3.

Explanation:

1) Pump in series:

When two or more pumps are connected in series, their resulting pump performance curve will be obtained by adding their respective heads at the same flow rate as shown in the first diagram attached.

In the first diagram, we have 3 curves namely:

- system curve

- single pump curve

- 2 pump in series curve

Also, we have points labeled 1, 2 and 3.

- Point 1 represents the point that the system operates with one pump running.

- Point 2 represents the point where the head of two identical pumps connected in series is twice the head of a single pump flowing at the same rate.

- Point 3 is the point where the system is operating when both pumps are running.

Now, since the flowrate is constant, the combined head will move from point 1 to point 2 in theory. However, practically speaking, the combined head and flow rate will move along the system curve to point 3.

2) Pump in parallel:

When two or more pumps are connected in parallel, their resulting pump performance curve will be obtained by adding their respective flow rates at same head as shown in the second diagram attached.

In the second diagram, we have 3 curves namely:

- system curve

- single pump curve

- 2 pump in series curve

Also, we have points labeled 1, 2 and 3

- Point 1 represents the point that the system operates with one pump running.

- Point 2 represents the point where the flow rate of two identical pumps connected in series is twice the flow rate of a single pump.

- Point 3 is the point where the system is operating when both pumps are running.

In this case, the combined head and volume flow will move along the system curve from point 1 to point 3.

5 0
3 years ago
PROMPT: Decide which 8 oz. serving of drink (Orange Juice or Lo-Carb Monster Energy®) will provide more energy to your brain cel
sveticcg [70]

Answer:

Orange Juice

Explanation:

  • Our body converts glucose to ATP which then available to be utilized as energy by brain cells. The amount of glucose in an orange juice is higher than Lo-Card monster hence it will provide more energy. We also need to look at ingredients listed in the Lo-Card Monster energy.
7 0
3 years ago
Read 2 more answers
________ is not within other loop.Immersive Reader
djyliett [7]

Answer:

I think node

Explanation:

thank you

have a great day

8 0
3 years ago
Other questions:
  • 6. What are the potential consequences if a business does not follow regulations? (1 point)
    13·1 answer
  • The voltage in a series circuit is being increased from 12 volts to 24 volts.
    6·1 answer
  • The cubic capacity of a four-stroke over-square spark-ignition engine is 245cc. The over-square ratio is (1.1) The clearance vol
    14·1 answer
  • An alloy has a yield strength of 41 ksi, a tensile strength of 57 ksi, and an elastic modulus of 16 * 106 psi. A cylindrical spe
    5·1 answer
  • The costs of mining and transporting coal are roughly independent of the heating value of the coal. Consider:
    15·1 answer
  • Determine the greatest pressure drop allowed over the 10-m-long pipe caused by viscous friction, so the flow remains laminar.
    14·1 answer
  • Determine the size of memory needed for CD recording of a piece of music, which lasts for 26 minutes, is done with a 20-bit Anal
    14·1 answer
  • What do you need to craft netherite ingots come on man you should know this
    9·2 answers
  • 10.16.1: LAB: Interstate highway numbers (Python)
    9·1 answer
  • Drivers education :Anything that draws your mind off driving is
    9·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!