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
Which branch of engineering studies the physical behavior of metallic elements?
olga55 [171]

Material engineering studies the physical behavior of metallic elements.

Answer: Option C

<u>Explanation: </u>

Material Engineering is the creation and learning about the materials at an atomic level. An engineers from this branch focus on material and model its characteristics using the computer.

Also, they combine the knowledge of solid-states, metallurgy, chemistry and ceramics to the application level. It also has a great role in building the future with the advancing study in nanotechnology, biotechnology, etc. Simply, these are meant to have vivid applications in future life.

6 0
3 years ago
Read 2 more answers
The link acts as part of the elevator control for a small airplane. If the attached aluminum tube has an inner diameter of 25 mm
aksik [14]

Answer:

Tmax=14.5MPa

Tmin=10.3MPa

Explanation:

T = 600 * 0.15 = 90N.m

T_max =\frac{T_c}{j}  = \frac{x}{y}  = \frac{90 \times 0.0175}{\frac{\pi}{2} \times (0.0175^4-0.0125^4)}

=14.5MPa

T_{min} =\frac{T_c}{j}  = \frac{x}{y}  = \frac{90 \times 0.0125}{\frac{\pi}{2} \times (0.0175^4-0.0125^4)}

=10.3MPa

7 0
3 years ago
"At 195 miles long, and with 7,325 miles of coastline, the Chesapeake Bay is the largest and most complex estuary in the United
Paraphin [41]

Answer:

see explaination

Explanation:

Part a) Width of bay at Potomac River:

Given Data:

· Actual Width at Potomac River = 30 miles

· Bay Model Length Ratio Lr = 1/1000

In fluid mechanics models of real structures are prepared in simulation so that they can be analyzed accurately. A model is known to have simulation if model carries same geometric, kinematic and dynamic properties at a small scale.

Length of any part in model = Actual length x Lr

Hence,

Model Width of bay at Potomac River = 30 x 1/1000 = 0.03 miles

Since 1 mile = 5280 ft

Model Width of bay at Potomac River = 0.03 x 5280 = 158.4 ft

Part b) Model Length of bay bridge in model:

Given Data:

· Actual Length of bay bridge = 4.3 miles

· Bay Model Length Ratio Lr = 1/1000

Model Length = Actual Length x Lr = 4.3 x 1/1000 = 0.0043 miles

Since 1 mile = 5280 ft

Model Length in feet = 0.0043 x 5280 = 22.704 ft

Part c) Model Length of bay bridge in model:

Given Data:

· Model Area = 8 acre

· Bay Model Length Ratio Lr = 1/1000

Model Area = Actual Area x Lr x Lr

8 Model Area :: Actual Area =- (Lp)2 2 = 8,000,000 acre 1000

Since 1 square mile = 640 acre,

Actual Area in square miles = 8,000,000/640 = 12,500 square miles

Part d) Average and maximum depth of model:

Given Data:

· Actual Average depth = 28 ft

· Actual Maximum depth = 174 ft

· Bay Model Length Ratio Lr = 1/1000

Model average depth = Actual average depth x Lr = 28 x 1/1000 = 0.028 feet

Since 1 ft = 12 inch

Model average depth in inch = 0.028 x 12 = 0.336 in

Model maximum depth = Actual maximum depth x Lr = 174 x 1/1000 = 0.174 feet

Since 1 ft = 12 inch

Model maximum depth in inch = 0.174 x 12 = 2.088 in

4 0
3 years ago
What is the metal removal rate when a 2 in-diameter hole 3.5 in deep is drilled in 1020 steel at cutting speed of 120 fpm with a
Studentka2010 [4]

Answer:

a) the metal removal rate is 14.4 in³/min

b) the cutting time is 0.98 min

Explanation:

Given the data from the question

first we find the rpm for the spindle of the drilling tool, using the equation

Ns = 12V/πD

V is the cutting speed(120 fpm) and D is the diameter of the hole( 2 in)

so we substitute

Ns = 12 × 120 / π2

Ns = 1440 / 6.2831

Ns = 229.18 rmp

Now we find the metal removal rate using the equation

MRR = (πD²/4) Fr × Ns

Fr is the feed rate( 0.02 ipr ),

so we substitute

MRR = ((π × 2²)/4) × 0.02 × 229.18

MRR = 14.3998 ≈ 14.4 in³/min

Therefore the metal removal rate is 14.4 in³/min

Next we find the allowance for approach of the tip of the drill

A = D/2

A = 2/2

= 1 in

now find the time required to drill the hole

Tm = (L + A) / (Fr × Ns)

Lis the the depth of the hole( 3.5 in)

so we substitute our values

Tm = (3.5 + 1) / (0.02 × 229.18  )

Tm = 4.5 / 4.5836

Tm = 0.98 min

Therefore the cutting time is 0.98 min

8 0
3 years ago
Which rigid motion maps the solid-line figure onto the dotted-line figure?
Agata [3.3K]
I would love to answer but unfortunately there is no picture.
5 0
3 years ago
Other questions:
  • Use the drop-down menus to choose the correct term or words to complete the statements.
    10·1 answer
  • Liquid water enters an adiabatic piping system at 15°C at a rate of 8kg/s. If the water temperature rises by 0.2°C during flow d
    12·1 answer
  • Calculate the reactions at 4 ends (supports) of this bookshelf. Assume that the weight of each book is approximately 1 lb. The w
    13·1 answer
  • Which of the following refers to software designed to alter system files and utilities on a victim’s system with the intention o
    15·1 answer
  • Consider a metal single crystal oriented such that the normal to the slip plane and the slip direction are at angles of 43.1 deg
    6·1 answer
  • Selling a new vehicle pays a salesperson $1500. Selling a used vehicle pays a commission of 5% of the selling price. Write an in
    9·1 answer
  • Draw a sketch of the following situations identifying the system or control volume, and the boundary of the system or the contro
    10·1 answer
  • Describe in your own words the three strengthening mechanisms
    7·1 answer
  • The Environmental Protection Agency (EPA) has standards and regulations that says that the lead level in soil cannot exceed the
    13·1 answer
  • 1. Band saw lower wheel does not require a guard *
    6·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!