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
qaws [65]
3 years ago
12

Write three statements to print the first three elements of array runTimes. Follow each statement with a newline. Ex: If runTime

= {800, 775, 790, 805, 808}, print: 800 775 790 Note: These activities will test the code with different test values. This activity will perform two tests, both with a 5-element array. See "How to Use zyBooks". Also note: If the submitted code tries to access an invalid array element, such as runTimes[9] for a 5-element array, the test may generate strange results. Or the test may crash and report "Program end never reached", in which case the system doesn't print the test case that caused the reported message.
Engineering
1 answer:
Assoli18 [71]3 years ago
6 0

Answer:

public class PrintRunTimes {

public static void main (String [] args) {

int[] runTimes = new int[5];

runTimes[0] = 800;

runTimes[1] = 775;

runTimes[2] = 790;

runTimes[3] = 805;

runTimes[4] = 808;

  for(int i=0;i<3;i++)

  {

  System.out.println(runTimes[i]);

  }  

}

}

You might be interested in
Degreasers can be broken down into two main categories
Alex17521 [72]
Degreasers can be categorized to be either water-based or solvent-based.
5 0
3 years ago
Read 2 more answers
Air enters the compressor of a regenerative gas-turbine engine at 300 K and 100 kPa, where it is compressed to 800 kPa and 580 K
Bad White [126]

Answer:

a) The amount of heat transfer in the regenerator, q = 114.12 kJ/kg

b) Thermal efficiency = 35.9%

Explanation:

The calculations are neatly handwritten and attached as files to this solution for easiness of expression and clarity. The cycle is also drawn on the T - S diagram and included in the attached files. Check the files below for the complete calculation.

I hope this helps!

3 0
3 years ago
Connecting rods undergo a process to alleviate manufacturing stresses from forging, a process known as ______.​
DiKsa [7]
I believe it is cold forging?

sorry this answer was very confusing.
4 0
3 years ago
1. Which of the following is NOT an example of a lever?
Umnica [9.8K]
A staircase what makes it a lever is another objects used to displace the force better
8 0
4 years ago
Find the Rectangular form of the following phasors?
almond37 [142]

Answer:

The angles are missing in the question.

The angles are :

45,     30,    60,     90,    -34,     -56,      20,     -42,  -65,    -15

P=10, P=5,  P=25, P=54, P=65, P=95, P=250, P=8, P=35, P=150

Explanation:

1. P = 10,   θ = 45°  rectangular coordinates

x = r cosθ  ,   y = r sinθ

So, rectangular form is x + iy

x = P cosθ = 10 cos 45°

  = 7.07

y =P sinθ = 10 sin 45°

  = 7.07

Therefore, rectangular form

x + iy = 7.07 + i (7.07)

2. P = 5 , θ = 30°

x = 5 cos  30° = 4.33

y = 5 sin  30° = 2.5

So, (x+iy) = 4.33 + i (2.5)

3. P = 25 , θ = 60°

x = 25 cos  60° = 12.5

y = 25 sin  60° = 21.65

So, (x+iy) = 12.5 + i (21.65)

4. P = 54 , θ = 90°

x = 54 cos  90° = 0

y = 54 sin  90° = 54

So, (x+iy) = 0+ i (54)

5. P = 65 , θ = -34°

x = 65 cos  (-34°) = 53.88

y = 65 sin  (-34°) = -36.34

So, (x+iy) = 53.88 - i (36.34)

6. P = 95 , θ = -56°

x = 95 cos  (-56)° = 53.12

y = 95 sin  (-56)° = -78.75

So, (x+iy) = 53.12 - i (78.75)

7. P = 250 , θ = 20°

x = 250 cos  20° = 234.92

y = 250 sin 20° = 85.5

So, (x+iy) = 234.92 + i (85.5)

8. P = 8 , θ = (-42)°

x = 8 cos  (-42)° = 5.94

y = 8 sin  (-42)° = -5.353

So, (x+iy) = 5.94 - i (5.353)

9. P = 35 , θ = (-65)°

x = 35 cos  (-65)° = 14.79

y = 35 sin  (-65)° = -31.72

So, (x+iy) = 14.79 - i (31.72)

10. P = 150 , θ = (-15)°

x = 150 cos  (-15)° = 144.88

y = 150 sin  (-15)° = -38.82

So, (x+iy) = 144.88 - i (38.82)

6 0
3 years ago
Other questions:
  • A metal rod, 20 mm diameter, is tested in tension (force applied axially). The total extension over a length of 80 mm is 3.04 x
    8·1 answer
  • A metal plate of 400 mm in length, 200mm in width and 30 mm in depth is to be machined by orthogonal cutting using a tool of wid
    12·2 answers
  • _______is defined as the use of statistical techniques to control a process or production method
    13·1 answer
  • Match the words in the left column to the appropriate blanks in the sentences on the right. Note that some words may be used mor
    14·1 answer
  • Consider a piston-cylinder device with a piston surface area of 0.1 m^2 initially filled with 0.05 m^3 of saturated water vapor
    6·1 answer
  • 1.00-L insulated bottle is full of tea at 90.08°C. You pour out one cup of tea and immediately screw the stopper back on the bot
    6·1 answer
  • Daniel Wiseman, a scientist for Gres-Trans Corp., wants to determine if the flow rate of a particular material changes with diff
    9·1 answer
  • Sasha goes back through her architectural design books for inspiration and designs the new country club to have a Romanesque fee
    11·1 answer
  • Sam’s father bought him a new car for $26,304.00. He expects to pay for it in equal monthly payments for 60 months. How much wil
    6·2 answers
  • Relationship between civil engineering and geology​
    13·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!