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
Zina [86]
3 years ago
8

In a four-stroke engine, the piston rises in the cylinder, which triggers the _______ stroke.

Engineering
1 answer:
kow [346]3 years ago
7 0

Answer: It is power stroke

You might be interested in
Type a statement using srand() to seed random number generation using variable seedVal. Then type two statements using rand() to
liq [111]

Answer:

View Image

Explanation:

No number is really ever random. It all has a seed, which is an initial value for the 'random' number to be generated. The rand() function uses an equation to  generate its value, and all its 'random' value depend on the first number you plug in into your equation. The initial number you plug into your equation is what srand() do.

If you just call rand() alone without calling srand() then the generated numbers will automatically use srand(1) as a default seed. Using the same srand() value will always yield the same sequence of numbers.

To get a number between 0 and 9, take the modulus of it with 10 because modulus give you the remainder, so the number rand()%10 will never be equal to 10 or greater.

4 0
3 years ago
2.31 LAB: Simple statistics Part 1 Given 4 integers, output their product and their average, using integer arithmetic. Ex: If th
Elden [556K]

Answer:

Explanation:

Note: Integer division discards the fraction. Hence the average of 8, 10, 5, 4 is output as 6, not 6.75.

Note: The test cases include four very large input values whose product results in overflow. You do not need to do anything special, but just observe that the output does not represent the correct product (in fact, four positive numbers yield a negative output; wow).

Submit the above for grading. Your program will fail the last test cases (which is expected), until you complete part 2 below.

Part 2: Also output the product and average, using floating-point arithmetic.

Output each floating-point value with three digits after the decimal point, which can be achieved as follows: System.out.printf("%.3f", yourValue);

Ex: If the input is 8, 10, 5, 4, the output is:

import java.util.Scanner;

public class LabProgram {

 public static void main(String[] args) {

     Scanner scnr = new Scanner(System.in);

     int num1;

     int num2;

     int num3;

     int num4;

       num1 = scnr.nextInt();

       num2 = scnr.nextInt();

       num3 = scnr.nextInt();

       num4 = scnr.nextInt();

       double average_arith = (num1+num2+num3+num4)/4.0;

       double product_arith = num1*num2*num3*num4;

       int result1 = (int) average_arith;

       int result2 = (int) product_arith;

       System.out.printf("%d %d\n",result2,result1);

       System.out.printf("%.3f %.3f\n",product_arith,average_arith);

  }

}

expected output : 1600.000 6.750

5 0
3 years ago
Read 2 more answers
You installed a new 40 gallon water heater with a 54,000 BTUh burner. The underground water temperature coming into the house is
allochka39001 [22]

Answer:

For most uses you'll want your water heated to 120 F(49 C) In this example you'd need a demand water heater that produces a temperature rise and it will take about 2 hours

7 0
3 years ago
There are two methods to create simple robots. First, you can construct them by purchasing various individual components and ass
Vlad1618 [11]

Answer:

second way

Explanation:

robotic kits are simple and easy to make

5 0
3 years ago
which one of the following appliance parts gets the hardest services? A. Heating elementwhich one of the following appliance par
makvit [3.9K]
The following appliance parts gets the hardest services is a line cord.
The answer is D.
(U didn’t write the right.)
8 0
3 years ago
Read 2 more answers
Other questions:
  • Why should engineers avoid obvious patterns?
    13·2 answers
  • A tendon-operated robotic hand can be implemented using a pneumatic actuator. The actuator can be represented by
    15·1 answer
  • Here u go vagdhf dis day did. Du video ioi Hi I gotta go to do something fun to do something that would you want to me see you l
    15·1 answer
  • Nitrate salts (NO3-), when heated, can produce nitrites (NO2-) plus oxygen (O2). A sample of potassium nitrate is heated, and th
    9·1 answer
  • A gear box’s shaft is made of a hollow circular steel tube with allowable yield stress equal to σa????????o???? . The shaft is l
    7·1 answer
  • 6. Staples are the most common item used to secure and support cables in residential wiring.​
    14·1 answer
  • A simple ideal Rankine cycle with water as the working fluid operates between the pressure limits of 4 MPa in the boiler and 25
    14·2 answers
  • Check the answer that best describes the relationship between f(x) and x. (For example if f(x) is Θ(x) check that as your answer
    12·1 answer
  • The three suspender bars AB, CD, and EF are made of A-36 steel and have equal cross-sectional areas of 500 mm2. Determine the av
    9·1 answer
  • T/f
    10·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!