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
Two equally charged, 1.00 g spheres are placed with 2.00 cm between their centers. when released, each begins to accelerate at 2
Leya [2.2K]
1) Force = m*a = 1.00 g * (1kg / 1000 g) * 225 m/s^2 = 0.225 N

2) Charge

Force = K (charge)^2 /(distance)^2 => charge = √ [Force * distance^2 / k]

k = 9.00 * 10^9 N*m^2 / C^2

charge = √ [0.225 N * (0.02 m)^2 / 9.00* 10^9 N*m^2 / C^2 ]

charge = 0.0000001 C = 0.0001 mili C
3 0
3 years ago
A skater slides across the ice with an initial velocity of 5.0 m/s. She slows 10 points
zvonat [6]

Explanation:

Given that,

The initial velocity of a skater is, u = 5 m/s

She slows to a velocity of 2 m/s over a distance of 20 m.

We can find the acceleration of skater. It is equal to the rate of change of velocity. So, it can be calculated using third equation of motion as follows :

v^2-u^2=2as

a = acceleration

a=\dfrac{v^2-u^2}{2s}\\\\a=\dfrac{(2)^2-(5)^2}{2\times 20}\\\\a=-0.525\ m/s^2

So, her acceleration is 0.525\ m/s^2 and she is deaccelerating. Also, her initial velocity is given i.e. 5 m/s.

7 0
3 years ago
Which two elements have the same number of valence electrons?
UNO [17]

Answer:

The answer is A. C and O..

4 0
3 years ago
Read 2 more answers
The plane of a rectangular coil, 7.2 cm by 3.7 cm, is perpendicular to the direction of a uniform magnetic field B. If the coil
netineya [11]

Answer:

The rate of change of magnetic field is 2.23 T/s.              

Explanation:

Given that,

Dimension of rectangular coil is 7.2 cm by 3.7 cm.

Number of turns in the coil, N = 104

Resistance of the coil, R = 12.4 ohms

Current, I = 0.05 A

We need to find the rate of change of magnetic field in the coil. The induced emf is given by the rate of change of magnetic flux. So,

\epsilon=-\dfrac{d\phi}{dt}

Ohm's law is :

\epsilon=IR

So,

IR=-\dfrac{d\phi}{dt}\\\\IR=-\dfrac{d(NBA)}{dt}\\\\IR=-NA\dfrac{dB}{dt}\\\\\dfrac{dB}{dt}=\dfrac{IR}{NA}\\\\\dfrac{dB}{dt}=\dfrac{0.05\times 12.4}{104\times 7.2\times 10^{-2}\times 3.7\times 10^{-2}}\\\\\dfrac{dB}{dt}=2.23\ T/s

So, the rate of change of magnetic field is 2.23 T/s.

4 0
3 years ago
The compound magnesium phosphate has the chemical formula Mg3(PO4)2. In this compound, phosphorous and oxygen act together as on
zepelin [54]
The 2 means there are two phosphate ions in a molecule of magnesium phosphate.
8 0
3 years ago
Read 2 more answers
Other questions:
  • What happens when light rays pass through a converging lens (convex lens)?
    11·1 answer
  • A fisherman's scale stretches 3.7 cm when a 3.5 kg fish hangs from it. (a) what is the spring constant? n/m (b) what will be the
    8·1 answer
  • What type of energy is biomass energy? <br><br> A) kinetic energy <br> B) potential energy
    13·1 answer
  • A body is a particular amount of matter. It can be a solid, liquid or gas. It can be described as existing in A. location and mo
    9·2 answers
  • An open pipe is 1.42 m long.
    6·1 answer
  • Adam takes a bus on a school field trip. The bus route is split into the five legs listed in the table. Find the average velocit
    10·1 answer
  • A 20.0-N weight slides down a rough inclined plane which makes an angle of 30 degree with the horizontal. The weight starts from
    14·1 answer
  • Valleys have dense population but plateaus don't have dense population.why?
    5·1 answer
  • Which of the following objects cannot make a shadow? Broken piece of glass from a window/wooden pane of the same window? Explain
    15·1 answer
  • An object traveling at a constant
    14·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!