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
Shalnov [3]
3 years ago
9

To convert a whole number to a fraction the number can be written over a denominator of

Engineering
1 answer:
exis [7]3 years ago
7 0
One

When you convert a whole number into a fraction, you put the whole number as the numerator and the denominator as 1.

Such as 12=12/1 or 5=5/1
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
1) Pareto charts are used to: A) identify inspection points in a process. B) outline production schedules. C) organize errors, p
zloy xaker [14]

Answer:

E) Please see below as the answer is self -explanatory.

Explanation:

The pareto chart, is used in quality control, and is a combined type of graph, that uses a line-type curve to denote the cumulative percentages of the different types of defects found in a sample (so the maximum value is 100%)

Also, it features a bar chart, which shows the relative occurrence of the different values (as in a histogram) which allows to find easily which defects are more relevant ones, alerting in this way about unacceptable deviations in the manufacturing process (if we are producing a good under given quality standards, for instance).

4 0
3 years ago
Modify the one-dimensional continuity equation to include rainfall over the free surface
KonstantinChe [14]

The rainfall run off model  HEC-HMS is combined with river routing model. They are used for simulating the rainfall process.

Explanation:

The HEC - HMS rainfall model is used for simulating the rainfall runoff process. In this study the soil conservation service and curve number method is used to calculate the sub basin loss in basin module.

It provides various options for providing the rainfall distributions in the basin. It has the control specification module used to control the time interval for the simulations.

The one dimensional continuity equation is

бA / бT + бQ / бx= 0

3 0
3 years ago
You are watching the weather forecast and the weatherman says that strong thunderstorms and possible tornadoes are likely to for
WITCHER [35]

Explanation:

bad weather usually form when low pressure pushed high pressure ot the way.

5 0
4 years ago
A boiler is used to heat steam at a brewery to be used in various applications such as heating water to brew the beer and saniti
Natalija [7]

Answer:

net boiler heat = 301.94 kW

Explanation:

given data

saturated steam = 6.0 bars

temperature = 18°C

flow rate = 115 m³/h = 0.03194 m³/s

heat use by boiler = 90 %

to find out

rate of heat does the boiler output

solution

we can say saturated steam is produce at 6 bar from liquid water 18°C

we know at 6 bar from steam table

hg = 2756 kJ/kg

and

enthalpy of water at 18°C

hf = 75.64 kJ/kg

so heat required for 1 kg is

=hg - hf

= 2680.36 kJ/kg

and

from steam table specific volume of saturated steam at 6 bar is 0.315 m³/kg

so here mass flow rate is

mass flow rate = \frac{0.03194}{0.315}

mass flow rate m = 0.10139 kg/s

so heat required is

H = h × m  

here h is heat required and m is mass flow rate

H = 2680.36  × 0.10139

H =  271.75 kJ/s = 271.75 kW

now 90 % of boiler heat is used for generate saturated stream

so net boiler heat = \frac{H}{0.90}

net boiler heat = \frac{271.75}{0.90}

net boiler heat = 301.94 kW

5 0
3 years ago
Other questions:
  • An empty metal can is heated to 908C and sealed. It is then placed in a room to cool to 208C. What is the pressure inside the ca
    11·1 answer
  • The ice on the rear window of an automobile is defrosted by attaching a thin, transparent, film type heating element to its inne
    8·1 answer
  • Create a function (prob3_5) that will take inputs of vectors x and y in feet, scalar N, scalars L and W in feet and scalars T1 a
    6·1 answer
  • What is the tool used to take off a wheel nut
    6·2 answers
  • At many intersections, under certain circumstances, a right turn may be made while the traffic light is red. Before turning righ
    14·1 answer
  • . In the U.S. fuel efficiency of cars is specified in miles per gallon (mpg). In Europe it is often expressed in liters per 100
    8·1 answer
  • What is the process of a Diesel engine uses to convert fuel to mechanical energy
    8·1 answer
  • Need help giving out brainlest
    9·1 answer
  • A liquid mixture containing 0.45 mol fraction of heptane and 0.55 mole fraction ethyl benzene is fed as saturated vapor to a dis
    12·1 answer
  • Please look at the picture for question.
    14·2 answers
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!