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
Why can biofuels be described as renewable resources?​
gulaghasi [49]

Answer:

Biofuel is fuel that is produced through contemporary processes from biomass, rather than by the very slow geological processes involved in the formation of fossil fuels, such as oil. Since biomass technically can be used as a fuel directly, some people use the terms biomass and biofuel interchangeably. 

Biofuel, any fuel that is derived from biomass—that is, plant or algae material or animal waste. Since such feedstock material can be replenished readily, biofuel is considered to be a source of renewable energy, unlike fossil fuels such as petroleum, coal, and natural gas.

stream life goes on and dynamite

we're about to reach 1B

♡♡♡♡♡♡♡♡♡♡♡♡♡♡♡♡♡♡♡♡♡♡♡♡♡♡

5 0
3 years ago
Consider three planets. All have the same mass as Earth, but with different radii (from largest to smallest: Planet 1, 2, 3). Fo
LuckyWell [14K]

Answer:

option C

Explanation:

given,

mass of the three planet is same

radius of the planets are

R₁ > R₂ > R₃

expression of escape velocity

v = \sqrt{\dfrac{2GM}{R}}

G is the gravitational constant

M is the mass of the planet

R is the radius of the planet

from the above expression we can clearly conclude that the escape velocity is inversely proportional to the radius of the Planet.

radius of planet increases escape velocity decreases.

Hence planet 3 has the smallest radius so the escape velocity of the third planet will be maximum.

The correct answer is option C

3 0
3 years ago
reviews the approach taken in problems such as this one. A bird watcher meanders through the woods, walking 0.916 km due east, 0
Verizon [17]

Answer:

Displacement: 2.230 km    Average velocity: 1.274\frac{km}{h}

Explanation:

Let's represent displacement by the letter S and the displacement in direction 49.7° as A. Displaement is a vector, so we need to decompose all the bird's displacement into their X-Y compoments. Let's go one by one:

  • 0.916 km due east is an horizontal direction and cane be seen as  direction towards the negative side of X-axis.
  • 0.928 km due south is a vertical direction and can be seen as a direction towards the negative side of Y-axis.
  • 3.52 km in a direction of 49.7° has components on X and Y  axes. It is necessary to break it down using trigonometry,

First of all. We need to sum all the X components and all the Y componets.

∑Sx = Ax -0.916 ⇒  ∑Sx = [tex]3.52cos(49.7) - 0.916

∑Sx = 1.361 km

∑Sy = Ay - 0.918 ⇒ ∑Sy = 3.52sin(49.7) - 0.918

∑Sy = 1.767

The total displacement is calculated using Pythagoeran therorem:

S_{total} =\sqrt{Sx^{2}+ Sy^{2} } ⇒

S_{total} = 2.230 km

With displacement calculated, we can find the average speed as follows:

V = S/t  ⇒  V = \frac{2.230}{1.750}

V = 1.274\frac{km}{h}

7 0
3 years ago
Amount of force exerted on an object due to gravity is called
MAXImum [283]
The gravitational force between a mass and the Earth is the object'sweight. Mass is considered a measure of an object's inertia, and its weight is the force exerted on the object in a gravitational field. On the surface of the Earth, the two forces are related by the acceleration due to gravity: Fg = mg.

Hoped this helped!
6 0
3 years ago
A 2 kg rubber ball is thrown at a wall horizontally at 3 m/s, and bounces back the way it came at an equal speed. A 2 kg clay ba
Lyrx [107]

Answer:

THE RUBBER BALL

Explanation:

From the question we are told that

      The mass of the rubber ball is m_r   =  2 \ kg

      The  initial  speed of the rubber ball is  u =  3 \ m/s

      The final speed at which it bounces bank v  - 3 \ m/s

      The mass of the clay ball  is  m_c =  2  \ kg

       The  initial  speed of the clay  ball is u = 3 \ m/s

       The final speed of the clay ball is  v = 0 \  m/s

Generally Impulse is mathematically represented as

       I  =  \Delta p

where \Delta  p is the change in the linear momentum so  

       I  =  m(v-u)

For the rubber  is  

        I_r  =  2(-3 -3)

       I_r  = -12\ kg \cdot  m/s

=>     |I_r|  = 12\ kg \cdot  m/s

For the clay ball

       I_c  =  2(0-3)

        I_c =  -6 \ kg\cdot \ m/s

=>    | I_c| =  6 \ kg\cdot \ m/s

So from the above calculation the ball with the a higher magnitude of impulse is the rubber ball

       

8 0
3 years ago
Other questions:
  • Suppose you have a piston in a cylinder where the gas temperature is 26.0° C and has a volume of 1.75 L. What is the volume of t
    10·2 answers
  • A stone falls from ledge and takes 16 seconds to hit ground. The stone has an original velocity 0 m/s, How tall is the ledge?
    10·1 answer
  • Byun walked 15 blocks in 25 minutes. What was his average speed?
    15·1 answer
  • What is the centripetal force that holds planets in orbit?
    6·1 answer
  • The engine on a fighter airplane can exert a force of 105,840 N (24,000 pounds). The take-off mass of the plane is 16,875 kg. (I
    8·1 answer
  • Can someone do 2-5 for me please
    5·1 answer
  • Era that we live in <br> 1. precambrian time<br> 2. mesozoic<br> 3. paleozoic<br> 4. cenozoic
    11·1 answer
  • If there is 3.4 m3 of methane gas in a container with a pressure of 18.9 atm and the container expands until the methane has a p
    5·1 answer
  • Why does the sky change colors at sunset?
    9·1 answer
  • What are the three parts of the power phase? *
    14·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!