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
Give proof that mass is constant and weight keeps changing.​
shutvik [7]

The mass of an object stays the same wherever it is, but its weight can change. This happens if the object goes where the gravitational field strength is different from the gravitational field strength on Earth, such as into space or another planet.
7 0
2 years ago
Question 1
galina1969 [7]
1/f= 1/di+1/do
1/f=1/90m+1/40m
1/f ≈27.7m
7 0
3 years ago
Science question: How do humans use the magnetic field for navigation?
I am Lyosha [343]

Answer:

Magnetoreception (also magnetoception) is a sense which allows an organism to detect a magnetic field to perceive direction, altitude, or location. This sensory modality is used by a range of animals for orientation and navigation, and as a method for animals to develop regional maps.

Explanation:

4 0
3 years ago
A body of mass 1kg is made to oscillate on a spring of force constant 16 n/m calculate 1 the angular frequency 2 the frequency o
Scilla [17]

Explanation:

Given that,

Mass of a body, m = 1 kg

Force constant, k = 16 N/m

We need to find the angular frequency and the frequency of oscillation.

(a) The angular frequency of a body is given by :

\omega=\sqrt{\dfrac{k}{m}} \\\\=\omega=\sqrt{\dfrac{16}{1}} \\\\=4\ rad/s

(b) The frequency of oscillation is given by :

f=\dfrac{\omega}{2\pi}\\\\f=\dfrac{4}{2\pi}\\\\=\dfrac{2}{\pi}\ Hz

Hence, this is the required solution.

7 0
3 years ago
Explain whether a tennis ball dropped from a high distance experiences an elastic collision or inelastic collision
hodyreva [135]
I need help on that too poop head
4 0
3 years ago
Other questions:
  • If we compare the force of gravity to strong nuclear force, we could conclude that A.gravity is the weaker force; it is related
    7·2 answers
  • g 4. A student with a mass of m rides a roller coaster with a loop with a radius of curvature of r. What is the minimum speed th
    5·2 answers
  • The best base unit for measuring the length of a carpet is a ____
    8·2 answers
  • If there is a current of 15A in a circuit for 5 minutes, what quantity of electric charge flow through the circuit?
    7·1 answer
  • 2. Starting from the origin, a person walks 4 km east during first day, and 7 km west the
    5·1 answer
  • The north pole of magnet A will __?____ the south pole of magnet B
    9·1 answer
  • 1. A wave with a frequency of 10 Hz has a wavelength of 3 meters. At what
    14·1 answer
  • When a falling body is at distance above the surface which is 4 times the Earth radius what is the acceleration due to Earth gra
    8·1 answer
  • How u do this atomic mass
    14·2 answers
  • What is the formula between torque applied force and the lever arm?
    9·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!