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]
2 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]2 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
The __________________ refers to the main screen of the computer.
Sedbober [7]

Answer:

<em>D</em><em>e</em><em>s</em><em>k</em><em>t</em><em>o</em><em>p</em>

Explain:

<em>Desktop refers to the main screen of the computer. It is the first screen you see after logging in. The desktop’s appearance can vary widely because it is highly customizable, but generally desktops will feature a large image, icons, and a taskbar(covered later on this page).</em>

4 0
2 years ago
Repetitive movements at work can lead to injuries. True or False
OverLord2011 [107]
Answer

True

Explanation

RSI can occur when you do repetitive movements. Those movements can cause your muscles and tendons to become damaged over time. Some activities that can increase your risk for RSI are: stressing the same muscles through repetition.
8 0
2 years ago
A house is losing heat at a rate of 1700 kJ/h per °C temperature difference between the indoor and the outdoor temperatures. Exp
Furkat [3]

Answer:

1700kJ/h.K

944.4kJ/h.R

944.4kJ/h.°F

Explanation:

Conversions for different temperature units are below:

1K = 1°C + 273K

1R = T(K) * 1.8

= (1°C + 273) * 1.8

1°F = (1°C * 1.8) + 32

Q/delta T = 1700kJ/h.°C

T (K) = 1700kJ/h.°C

= 1700kJ/K

T (R) = 1700kJ/h.°C

= 1700kJ/h.°C * 1°C/1.8R

= 944.4kJ/h.R

T (°F) = 1700kJ/h.°C

= 1700kJ/h.°C * 1°C/1.8°F

= 944.4kJ/h.°F

Note that arithmetic operations like subtraction and addition of values do not change or affect the value of a change in temperature (delta T) hence, the arithmetic operations are not reflected in the conversion. Illustration: 5°C - 3°C

= 2°C

(273+5) - (273+3)

= 2 K

5 0
3 years ago
A large increase in elevation can cause a carbureted engine to run ________ if not properly adjusted for the altitude. a Rich b
mash [69]

Answer:

B - Poor

Explanation:

As you get higher up, There is less oxygen which causes the engine to create less power.

3 0
2 years ago
The proposed grading at a project site will consist of 25,100 m3 of cut and 23,300 m3 of fill and will be a balanced earthwork j
Anna [14]

Answer:

the volume of water that will be required to bring these soils to the optimum moisture content is 1859 kL

Explanation:

Given that;

volume of cut = 25,100 m³

Volume of dry soil fill = 23,300 m³

Weight of the soil will be;

⇒ 93% × 18.3 kN/m³ × 23,300 m³

= 0.93 × 426390 kN 3

= 396,542.7 kN  

Optimum moisture content = 12.9 %

Required amount of moisture = (12.9 - 8.3)% = 4.6 %

So,

Weight of water required = 4.6% × 396,542.7 = 18241 kN

Volume of water required = 18241 / 9.81 = 1859 m³

Volume of water required = 1859 kL

Therefore, the volume of water that will be required to bring these soils to the optimum moisture content is 1859 kL

6 0
3 years ago
Other questions:
  • Write torsion equation and explain the importance of each components.<br>​
    14·1 answer
  • ,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,
    9·1 answer
  • A rectangular concrete beam has dimensions b=16 in. and h=30 in. The location of the Gr. 60 reinforcing bars, which are placed a
    15·1 answer
  • Se requiere un permiso aprobación o restricción contaminante para todos los métodos comerciales de descarga de aguas residuales
    13·1 answer
  • Which of the following is an example of seeking accreditation?
    7·1 answer
  • A force 25 N makes an angle of 30,45 and 75 degree with x,y and z axis. What should be the corresponding force vector?
    8·1 answer
  • List two common units of measurement to describe height
    5·2 answers
  • . H<br> Kijwhayhwbbwyhwbwbwgwwgbwbwhwh
    6·2 answers
  • 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
  • 10. True or False? A disruptive technology<br> radically changes the way people live and<br> work.
    5·2 answers
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!