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
Birdie Par owns a company that makes golf gloves. She is thinking about introducing a new glove, which would require an addition
melamori03 [73]

Birdie's company will make a profit of $30,000 if she sells 3,000 gloves at the $15 price.

Step-by-step Solution:

Break even point= fixed cost/ selling price - variable cost

here the fixed cost is= $20,000

selling price= $15 and variable cost = $5

BEP= 20,000/ 15-5= 20,000/10= 2000 units

b. if they sell 3000 gloves, the contribution profit will be

total revenue= 3000*$15= $45,000

contribution= selling price- variable cost, 15-5= $10 per unit

the profit is= 3000*$10= $30,000

What is  variable cost?

A variable cost is one that varies in relation to either the volume of production or the number of services provided. There should be no variable costs if no production or services are provided. Variable costs should rise in tandem with increases in production or services.

To learn more about Profit Calculation, visit: brainly.com/question/28177180

#SPJ1

3 0
1 year ago
Market research is a good place to start the design process and usually involves asking questions about consumers.
ElenaW [278]
what is your question?
4 0
2 years ago
What are some common work contexts for Licensing Examiners and Inspectors? Select four options.
Akimi4 [234]

According to O*NET, the common work contexts for Licensing Examiners and Inspectors include:

  1. Telephone
  2. Face-to-face discussions
  3. Contact with others
  4. Importance of being exact or accurate.

O*NET is an acronym for occupational information network and it refers to a free resource center or online database that is updated from time to time with several occupational definitions, so as to help the following categories of people understand the current work situation in the United States of America:

  • Workforce development professionals
  • Students
  • Human resource (HR) managers
  • Job seekers
  • Business firms

On O*NET, work contexts are typically used to describe the physical and social elements that are common to a particular profession or occupational work. Also, the less common work contexts are listed toward the bottom while common work contexts are listed toward the top.

According to O*NET, the common work contexts for Licensing Examiners and Inspectors include:

1. Telephone

2. Face-to-face discussions

3. Contact with others

4. Importance of being exact or accurate.

Read more on work contexts here: brainly.com/question/22826220

6 0
2 years ago
Read 2 more answers
Calculate the reluctance of a 4-meter long toroidal coil made of low-carbon steel with an inner radius of 1.75 cm and an outer r
My name is Ann [436]

Answer:

R = 31.9 x 10^(6) At/Wb

So option A is correct

Explanation:

Reluctance is obtained by dividing the length of the magnetic path L by the permeability times the cross-sectional area A

Thus; R = L/μA,

Now from the question,

L = 4m

r_1 = 1.75cm = 0.0175m

r_2 = 2.2cm = 0.022m

So Area will be A_2 - A_1

Thus = π(r_2)² - π(r_1)²

A = π(0.0225)² - π(0.0175)²

A = π[0.0002]

A = 6.28 x 10^(-4) m²

We are given that;

L = 4m

μ_steel = 2 x 10^(-4) Wb/At - m

Thus, reluctance is calculated as;

R = 4/(2 x 10^(-4) x 6.28x 10^(-4))

R = 0.319 x 10^(8) At/Wb

R = 31.9 x 10^(6) At/Wb

8 0
3 years ago
Which of the following has led to a safer and more prosperous global community within the last century? the Bronze Age composite
sattari [20]

Answer:

The bronze age

4 0
3 years ago
Read 2 more answers
Other questions:
  • A Geostationary satellite has an 8kW RF transmission pointed at the earth. How much force does that induce on the spacecraft? (N
    15·1 answer
  • Power is a fundamental dimension. a) True b) False
    15·1 answer
  • Consider a CMOS inverter which has ideal transistors with the following characteristics: PMOS transistor: W/L = 2; Mobility (up)
    13·1 answer
  • The grade is a measure of quality and it captures concentration levels (i.e., how pure a certain fraction is). If grade captures
    13·1 answer
  • or a metal pipe used to pump tomato paste, the overall heat- transfer coefficient based on internal area is 2 W/(m2 K). The insi
    14·1 answer
  • Homes may be heated by pumping hot water through radiators. What mass of water (in g) will provide the same amount of heat when
    8·1 answer
  • How to solve circuit theory using mesh analysis<br>​
    11·1 answer
  • What can you add to a seatbelt ??<br> HELP ASAP
    15·1 answer
  • Help me asap I rely need help u will be my fav​
    8·2 answers
  • assuming complementary inputs are available, the minimum number of transistors needed to realize a two input xor gate is:
    11·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!