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
The rolling process is governed by the frictional force between the rollers and the workpiece. The frictional force at the entra
adell [148]

Answer:

b)false

Explanation:

Rolling is a process in which work piece passes through rolls to produce desired out put of the work piece.Rolling  is a metal forming process.

We know that friction force is responsible for motion of work piece between rolls.If friction force is so small at the entrance side then work piece will not enter in the forming zone and forming process will not occurs.So the friction force should be high at the entrance side and low at the exit side.

So given statement is wrong.

3 0
3 years ago
Seperate real and imaginary parts tan(2x+i3y)
ahrayia [7]

Answer:

First you have to separate real and imaginary parts of Tan(x+iy)=Tan(z)=sin(z)/cos(z)

sinz=sin(x+iy)=sinxcos(iy)+cosxsin(iy)=sinxcoshy-icosx sinhy

cosz=cos(x+iy)=cosxcos(iy)-sinxsin(iy)=cosxcoshy−isinxsinhy

Now if you plug in Tan(z) and simplify (it is easy!) you get

Tan(z)=(sin(2x)+isinh(2y))/(cos(2x)+cosh(2y))= A+iB.

This means that

A=sin(2x)/(cos(2x)+cosh(2y)) and B= sinh(2y)/(cos(2x)+cosh(2y))

Now,

A/B=sin(2x)/sinh(2y)

If any questions, let me know.

3 0
3 years ago
A triangular plate with a base 5 ft and altitude 3 ft is submerged vertically in water. If the base is in the surface of water,
Scorpion4ik [409]

Answer:

Hydrostatic force = 41168 N

Explanation:

Complete question

A triangular plate with a base 5 ft and altitude 3 ft is submerged vertically in water  so that the top is 4 ft below the surface. If the base is in the surface of water, find the force against onr side of the plate. Express the hydrostatic force against one side of the plate as an integral and evaluate it. (Recall that the weight density of water is 62.5 lb/ft3.)

Let "x" be the side length submerged in water.

Then

w(x)/base = (4+3-x)/altitude

w(x)/5 = (4+3-x)/3

w(x) = 5* (7-x)/3

Hydrostatic force = 62.5 integration of  x * 4 * (10-x)/3 with limits from 4 to 7

HF = integration of 40x - 4x^2/3

HF = 20x^2 - 4x^3/9 with limit 4 to 7

HF = (20*7^2 - 4*7^(3/9))- (20*4^2 - 4*4^(3/9))

HF = 658.69 N *62.5 = 41168 N

4 0
3 years ago
Engineers create a new metal that is stronger than steel but much lighter. This material is also significantly cheaper than what
zysi [14]

The best step for the engineers to make next is option D. Begin to design an airplane using this metal.

<h3>What is the metallic is plane parts?</h3>

Aluminum and its alloys are nevertheless very famous uncooked substances for the production of business planes, because of their excessive electricity at exceedingly low density. Currently, excessive-electricity alloy 7075, which includes copper, magnesium and zinc, is the only used predominantly withinside the plane industry.

The solution is D, due to the fact even as it's far crucial to marketplace the fabric and ensure humans are inquisitive about buying, they first want to attempt to layout aircraft the usage of this fabric. There isn't anyt any use promoting an aircraft constituted of this material_ if a aircraft can not be built.

Read more about the aircraft:

brainly.com/question/5055463

#SPJ1

7 0
2 years ago
How does a motion sensor work?
Ahat [919]

Answer:

A motion sensor uses one or multiple technologies to detect movement in an area. When a sensor detects motion, it sends a signal to your security systems control panel, which connects to your monitoring panel system. This alerts you and the monitoring center to a potential threat in your home.

Hope It Helps You................

3 0
3 years ago
Other questions:
  • A classroom that normally contains 40 people is to be air-conditioned with window air-conditioning units of 5 kW cooling capacit
    6·1 answer
  • A seawall with an opening is used to dampen the tidal influence in a coastal area (and limit erosion). The seawall is 2.5 m long
    11·1 answer
  • What is Differential Analysis in fluid mechanics?
    13·1 answer
  • The amount of time an activity can be delayed and yet not delay the project is termed:_________
    14·1 answer
  • All circuits need three basic parts: an energy source, wires, and the object that is going to change the electrical energy into
    5·2 answers
  • If a toy car covers a distance of 42m in 7sec, what is it’s speed
    9·2 answers
  • Compute the electrical resistivity of a cylindrical silicon specimen 7.0 mm (0.28 in.) diameter and 57 mm (2.25 in.) in length i
    9·1 answer
  • Consider a 5 m long, air-filled section of a coaxial transmission line, given that the radius of the inner conductor is 10 cm an
    7·1 answer
  • Why Your first project as the new web designer at Smart Design is to increase web traffic to help boost web orders. Before you b
    6·1 answer
  • Storing parts outside doesn't cause any environmental risks as long as the items are covered.
    12·2 answers
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!