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
A change in which property of light will have no effect on whether or not the photoelectric effect occurs??? Frequently energy i
MaRussiya [10]
The intensity of the light has no connection with the photoelectric effect.

That's what was so baffling about it before the particle nature of light
was suspected ... a match with a blue flame might stimulate the
photoelectric effect, but a high-power red searchlight couldn't do it.
5 0
3 years ago
Read 2 more answers
A driver with a 0.80-s reaction time applies the brakes, causing the car to have acceleration opposite the direction of motion.
jeka94

Answer:

a) During the reaction time, the car travels 21 m

b) After applying the brake, the car travels 48 m before coming to stop

Explanation:

The equation for the position of a straight movement with variable speed is as follows:

x = x0 + v0 t + 1/2 a t²

where

x: position at time t

v0: initial speed

a: acceleration

t: time

When the speed is constant (as before applying the brake), the equation would be:

x = x0 + v t

a)Before applying the brake, the car travels at constant speed. In 0.80 s the car will travel:

x = 0m + 26 m/s * 0.80 s = <u>21 m  </u>

b) After applying the brake, the car has an acceleration of -7.0 m/s². Using the equation for velocity, we can calculate how much time it takes the car to stop (v = 0):

v = v0 + a* t

0 = 26 m/s + (-7.0 m/s²) * t

-26 m/s / - 7.0 m/s² = t

t = 3.7 s

With this time, we can calculate how far the car traveled during the deacceleration.

x = x0 +v0 t + 1/2 a t²

x = 0m + 26 m/s * 3.7 s - 1/2 * 7.0m/s² * (3.7 s)² = <u>48 m</u>

4 0
3 years ago
Calculate the amount of heat (in kj) required to raise the temperature of a 79.0 g sample of ethanol from 298.0 k to 385.0 k. th
earnstyle [38]
We are given with the specific heat capacity of ethanol, the mass of the sample and the temperature change to determine the total amount of heat to raise the temperature. The formula to be followed is H = mCpΔT. Upon subsituting, H = 79 g * 2.42 J/gC *(385-298)C = 16.63 kJ 
7 0
3 years ago
What type of device forms images by bending light? ASAP
Eddi Din [679]
The answer is a lense since mirrors reflect light
5 0
3 years ago
Read 2 more answers
Soot particles ("black carbon aerosols" generally cause ________ of earth's atmosphere by ________ solar energy.
sineoko [7]
They cause an increase in temp of earths atmosphere or warming by absorbing solar energy. hope this helps
7 0
3 years ago
Other questions:
  • What is a stack of membranes that packages chemicals
    9·1 answer
  • if you look inside the bowl of a shiny metal spoon, your image is upside down. if you look at the outside of the bowl, your imag
    7·1 answer
  • A second baseman tosses the ball to the first baseman, who catches it at the same level from which it was thrown. The throw is m
    11·1 answer
  • g A ray of light is incident on a flat reflecting surface and is reflected. If the incident ray makes an angle of 28.7° with the
    9·1 answer
  • What is the length of a simple pendulum with a period of 11.5 s?
    10·1 answer
  • What is the name of the effect that causes water to travel at an angle to trade winds?
    12·1 answer
  • A train has a constant velocity of 2 m/s east. What is the magnitude of the horizontal acceleration of the train?
    11·1 answer
  • If you push on a heavy box that is at rest, you must exert some force to start its motion. 5. however, once the box is in motion
    10·1 answer
  • What are the types of waves
    11·1 answer
  • A body is projected vertically upwards with a speed 100 m/s from the ground then distance it covers in its last second of its up
    15·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!