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
zaharov [31]
3 years ago
11

While discussing the testing of a Hall-effect switch:

Engineering
1 answer:
sergejj [24]3 years ago
6 0

Answer:

your answer is technician A

You might be interested in
Your Java program will be reading input from a file name strInput.txt. Each record contains String firstname String lastName Str
stiks02 [169]

Answer:

The program requires that you have the specified input files and it reads from each file at a time and processes salary in digits, states the city, state and bonus with respective first and last name as requested in the question. Note that you must have access to the mentioned output files for the program to work properly. Below is the java version of the program.

import java.io.File;

import java.io.FileNotFoundException;

import java.io.PrintWriter;

import java.util.Scanner;

class Driver

{

public static void main(String[] args) throws FileNotFoundException

{

Scanner sc = new Scanner(new File("strInput.txt"));

PrintWriter pd = new PrintWriter(new File("strOutputD"));

PrintWriter prf = new PrintWriter(new File("strOutputRF"));

String firstname = "", lastname = "", strSalary = "", status = "", cityState = "", city = "", state = "";

double salary = 0, bonus = 0;

int incorrectRecords = 0;

int dRecords = 0;

int fRecords = 0;

while(sc.hasNextLine())

{

firstname = sc.next();

lastname = sc.next();

strSalary = sc.next();

status = sc.next();

cityState = sc.next();

if(!status.equals("D") && !status.equals("F"))

{

System.out.println("Records is neither D nor F. Skipping this...");

incorrectRecords++;

continue;

}

else if(status.equals("D") || status.equals("F"))

{

char c = ' ';

int i = 0;

for(i=0; i<strSalary.length() && c != '.'; i++)

{

c = strSalary.charAt(i);

if(!Character.isDigit(c))

{

System.out.println("Char at position " + (i+1) + " in salary is not a digit");

incorrectRecords++;

continue;

}

}

if(c == '.')

{

if(i+1 == strSalary.length()-1)

{

if(!Character.isDigit(strSalary.charAt(i)))

{

System.out.println("Char at position " + (i+1) + " in salary is not a digit");

incorrectRecords++;

continue;

}

if(!Character.isDigit(strSalary.charAt(i+1)))

{

System.out.println("Char at position " + (i+1+1) + " in salary is not a digit");

incorrectRecords++;

continue;

}

}

else

{

System.out.println("Period is in the wrong position. Expected at " + (strSalary.length()-3) + " but found at " + (i+1));

continue;

}

}

city = cityState.split(",")[0];

state = cityState.split(",")[1];

salary = Double.parseDouble(strSalary);

if(status.equals("D"))

{

bonus = salary * 0.125;

dRecords++;

pd.write(firstname + " " + lastname + " " + status + " " + salary + " " + bonus + " " + city + " " + state);

}

else

{

bonus = salary * 0.18;

fRecords++;

prf.write(firstname + " " + lastname + " " + status + " " + salary + " " + bonus + " " + city + " " + state);

}

}

}

System.out.println("No of D records : " + dRecords);

System.out.println("No of F records : " + fRecords);

System.out.println("No of incorrect records : " + incorrectRecords);

}

}

6 0
3 years ago
A section of a two-lane highway has 12-ft lanes and a design speed of 75 mi/h. The section contains a vertical curve and a horiz
spayn [35]

Answer:

Explanation: see attachment below

6 0
3 years ago
how is friction losses in pipes reduced? a. decrease the pipe diameter b. increase the length of the pipes. c. decrease the leng
Citrus2011 [14]

Friction losses in pipes can be reduced by decreasing the length of the pipes, reducing the surface roughness of the pipes, and increasing the pipe diameter. Thus, options (c),(e), and (f) hold correct answers.

Friction loss is a measure of the amount of energy a piping system loses because flowing fluids meet resistance. As fluids flow through the pipes, they carry energy with them. Unfortunately, whenever there is resistance to the flow rate, it diverts fluids, and energy escapes. These opposing forces result in friction loss in pipes.

Friction loss in pipes can decrease the efficiency of the functions of pipes. These are a few ways by which friction loss in pipes can be reduced and the efficiency of the piping system can be boosted:

  • <u><em>Decrease the length of the pipes</em></u>: By decreasing pipe lengths and avoiding the use of sharp turns, fittings, and tees, whenever possible result in a more natural path for fluids to flow.
  • <u><em>Reduce the surface roughness of the pipes</em></u>:  By reducing the interior surface roughness of pipes, a smooth and clearer path is provided for liquids to flow.
  • <u><em>Increase the pipe diameter: </em></u>By widening the diameters of pipes, it is ensured that fluids squeeze through pipes easily.

You can learn more about friction losses at

brainly.com/question/13348561

#SPJ4

3 0
1 year ago
What is the Energy of moving things?<br><br> mechanical<br> sound<br> nuclear<br> Light
Elenna [48]

Answer: Kinetic energy

Explanation: If you live in a country other than UK you will probably call it something different

4 0
3 years ago
Read 2 more answers
A gas enters a compressor that provides a pressure ratio (exit pressure to inlet pressure) equal to 8. If a gage indicates the g
olga55 [171]

Answer:

P_2_{abs}=160\ psia (absolute).

Explanation:

Given that

Pressure ratio r

r=8

r=\dfrac{P_2_{abs}}{P_1_{abs}}

  8=\dfrac{P_2_{abs}}{P_1_{abs}}                                  -----1

P₁(gauge) = 5.5 psig

We know that

Absolute pressure = Atmospheric pressure  + Gauge  pressure

Given that

Atmospheric pressure = 14.5 lbf/in²

P₁(abs) = 14.5 + 5.5  psia

P₁(abs) =20 psia

Now by putting the values in the above equation 1

8=\dfrac{P_2_{abs}}{20}

P_2_{abs}=8\times 20\ psia

P_2_{abs}=160\ psia

Therefore the exit gas pressure will be 160 psia (absolute).

7 0
3 years ago
Other questions:
  • A circuit contains a 40 ohm resistor and a 60 ohms resistor connected in parallel. If you test this circuit with a DMM you shoul
    14·1 answer
  • ممكن الحل ............
    10·1 answer
  • A 150 MVA, 24 kV, 123% three-phase synchronous generator supplies a large network. The network voltage is 27 kV. The phase angle
    5·1 answer
  • read a file called filled in with a few sentences or a paragraph. Then write a function called typoglycemia, which scrambles the
    13·1 answer
  • The two shafts of a Hooke’s coupling have their axes inclined at 20°.The shaft A revolves at a uniform speed of 1000 rpm. The sh
    5·1 answer
  • The current through a 10-mH inductor is 10e−t∕2 A. Find the voltage and the power at t = 8 s.
    15·2 answers
  • Calculate the radius of a circular orbit for which the period is 1 day​
    13·1 answer
  • What is the answer of this question please tell me <br><br>dadada please please​
    10·1 answer
  • All these are returnless fuel systems EXCEPT ?
    8·1 answer
  • How many meters per second is 100 meters and 10 seconds
    12·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!