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
diamong [38]
3 years ago
11

Assume you are given an int variable named nElements and a two-dimensional array that has been created and assigned to a2d. Writ

e one or more statements that assign to nElements the total number of elements that could be stored in the entire two-dimensional array.
Physics
1 answer:
Alex777 [14]3 years ago
3 0

Answer:

Explained

Explanation:

public int dimension(int [][]a2d,int nElements)

{

int count = 0;

for(int i = 0;i < a2d.length ; i++)

{

count = count + a2d[i].length;

}

return count;

}

You might be interested in
Jkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkk
Marrrta [24]
Loooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooool
7 0
2 years ago
Thanks + BRAINLIST <br><br> Need correct answer ASAP
aliina [53]

Answer:

The options are not shown, so it is kinda hard to give you the exact answer.

But i can try to give a general explanation on the topic.

Interference happens when two waves interact between them. We usually use waves with the same wavelength and same phase.

There are two "main" types of interference:

Destructive interference: Happens when the peak of one wave and the trough of the other wave happen in the same place, then when we add these waves, we have a subtraction, and then the amplitude of the resultant wave is smaller than the amplitudes of the original waves (if both initial waves have the same amplitude, then the amplitude of the resultant wave in that position is zero).

Constructive interference: Similar to the previous case, but now the two waves have the peaks or toughs in the same position, then when we add the waves, we have an addition in the amplitude, then the amplitude of the resultant wave will be larger than the amplitudes of the initial waves.

Then if you are looking for constructive interference, you need to look for an option where the peaks of the waves coincide. For example, in the top image we can see, at the top, a wave with an amplitude of 2 units.

And at the bottom a wave with an amplitude of 1 unit.

We also can see that the peaks (and the tough) are in the same place, then we will have constructive interference. Then the amplitude of the resultant wave will be equal to the sum of the amplitudes of the initial waves (2 and 1)

Then the amplitude of the resultant wave is 2 units + 1 unit = 3 units.

5 0
3 years ago
Can a vector have a component greater than its magnitude
galina1969 [7]

Answer:

NO

Explanation:

The components of a vector can not have a magnitude greater than the vector itself.The magnitude of a component is always lesser than vector because the magnitude is a product of the vector and cos Ф where the value of cos Ф , x,  is -1<x<1. Additionally, applying the Pythagorean relationship, you expect the sum of squares of the components to equal the square of the magnitude of the vectors.However, there is a situation where a component of a vector has a magnitude which equals the magnitude of the vector.

6 0
3 years ago
What concerns people in regards to<br> the federal government?
inysia [295]

Answer:

Mulitple Changes.

Explanation:

Most people want something to be done, and never change again. But some others do, since they have there own beliefs. Alot of people are concerned about tax rates, taxes, nationial polices, own beliefs. People have there own beliefs and when someone is elected into the federal Government, they have there own Beliefs (Mostly Republican Or Democrate). People go against on what they dont think and go with what they think. At the end whoever sways the people on who to believe and vote for, Is elected.

3 0
3 years ago
Thermal Conductors don't have to be hot to transfer heat, explain a situation when a ice cube would still transfer heat to anoth
barxatty [35]
An ice cube would transfer heat to another object whose temperature
is lower than zero°C (32°F).

A block of "dry ice" is sitting there at a temperature of -78°C (-109°F).
An ice cube helps to melt dry ice nice and fast.

If you could find a block of solid nitrogen, its temperature would be
63K (-210°C, -346°F).  An ice cube would transfer heat to that baby
so fast that it would instantly boil.

6 0
3 years ago
Other questions:
  • Why machines are never 100 percent efficient
    13·2 answers
  • A car going 50 miles/hr accelerates to pass a truck. 5 seconds later the car is going 80 miles/hr. What is the acceleration of t
    14·1 answer
  • A crane does 9,500 J of work to lift a crate straight up using a force of 125 N. How high does the crane lift the crate?
    7·1 answer
  • A 3.0 g aluminum foil ball with a charge of 3.0×10−9C hangs freely from a 1.4 m-long thread. What angle with the vertical the eq
    12·1 answer
  • If you have just combed your hair and you hold the comb near a small, uncharged object, what will most likely happen?
    9·2 answers
  • ¿Cómo obtener razonadamente la primera ley de newton a partir de la segunda?
    6·1 answer
  • if 130N centripetal force is needed to keep a 0.45kg ball that is attached to a string that is 0.7m long to complete 5 full rota
    13·1 answer
  • PLEASE HELP , THOSE ARE ALL THE ANSWERS!
    9·2 answers
  • What is the IMA of a two-gear system if the resistance gear has 54 teeth and the effort
    14·1 answer
  • Calculate the frequency of the wave shown below.
    13·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!