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
Nadusha1986 [10]
2 years ago
15

Q6. Ask for two numbers. If the first one is larger than the second, display the second number first and then the first number,

otherwise show the first number first and then the second.
Engineering
1 answer:
Shalnov [3]2 years ago
6 0

Answer:

Number1 = input("Choose a number: )

Number2 = input("Choose a second number: )

if number1 > number2:

print(number2\nnumber1)

else:

print(number1\nnumber2)

Explanation:

I'm assuming that you want it in python.

You might be interested in
Technician A says that the use of methanol in internal combustion engines has declined over the years. Technician B says that th
enyata [817]

Answer:

Both Technician A and B are correct

Explanation:

Methanol is used in internal combustion engines. However, the use of methanol in internal combustion engines has decreased lately even though it was thought to lead to cleaner emissions than gasoline. Methanol internal combustion engines produce formaldehyde which is also an environmental pollutant. Also, the cost of methanol is slightly higher than that of good quality gasoline.

MTBE replaced tetraethyllead as a gasoline additive because the former lead to the emission of particulate lead from automobile exhausts which is a serious environmental pollutant. The use of MTBE has declined over the years due to environmental concerns. It has been banned because it has been found to be a significant groundwater pollutant if gasoline containing MTBE is spilled or leaked at gas stations.

4 0
2 years ago
A well-insulated tank in a vapor power plant operates at steady state. Saturated liquid water enters at inlet 1 at a rate of 125
Gekata [30.6K]

Answer:

a) \dot m_{3} = 135\,\frac{lbm}{s}, b) h_{3}=168.965\,\frac{BTU}{lbm}, c) T = 200.829\,^{\textdegree}F

Explanation:

a) The tank can be modelled by the Principle of Mass Conservation:

\dot m_{1} + \dot m_{2} - \dot m_{3} = 0

The mass flow rate exiting the tank is:

\dot m_{3} = \dot m_{1} + \dot m_{2}

\dot m_{3} = 125\,\frac{lbm}{s} + 10\,\frac{lbm}{s}

\dot m_{3} = 135\,\frac{lbm}{s}

b) An expression for the specific enthalpy at outlet is derived from the First Law of Thermodynamics:

\dot m_{1}\cdot h_{1} + \dot m_{2} \cdot h_{2} - \dot m_{3}\cdot h_{3} = 0

h_{3} = \frac{\dot m_{1}\cdot h_{1}+\dot m_{2}\cdot h_{2}}{\dot m_{3}}

Properties of water are obtained from tables:

h_{1}=180.16\,\frac{BTU}{lbm}

h_{2}=28.08\,\frac{BTU}{lbm} + \left(0.01604\,\frac{ft^{3}}{lbm}\right)\cdot (14.7\,psia-0.25638\,psia)

h_{2}=29.032\,\frac{BTU}{lbm}

The specific enthalpy at outlet is:

h_{3}=\frac{(125\,\frac{lbm}{s} )\cdot (180.16\,\frac{BTU}{lbm} )+(10\,\frac{lbm}{s} )\cdot (29.032\,\frac{BTU}{lbm} )}{135\,\frac{lbm}{s} }

h_{3}=168.965\,\frac{BTU}{lbm}

c) After a quick interpolation from data availables on water tables, the final temperature is:

T = 200.829\,^{\textdegree}F

8 0
3 years ago
Read 2 more answers
What entrepreneurial activities do you know?are you capable of doing entrepreneurial activities
kherson [118]

Answer:

.,m

Explanation:

.,m

5 0
3 years ago
Create a program named PaintingDemo that instantiates an array of eight Room objects and demonstrates the Room methods. The Room
Serggg [28]

Answer:

Explanation:

Code used will be like

using System;

using System.Collections.Generic;

using System.Linq;

using System.Text;

using System.Threading.Tasks;

namespace PaintingWall

{

class Room

{

public int length, width, height,Area,Gallons;

public Room(int l,int w,int h)

{

length = l;

width = w;

height = h;  

}

private int getLength()

{

return length;

}

private int getWidth()

{

return width;

}

private int getHeight()

{

return height;

}

public void WallAreaAndNumberGallons()

{

Area = getLength() * getHeight() * getWidth();

if (Area < 350)

{

Gallons = 1;

}

else if (Area > 350)

{

Gallons = 2;

}    

Console.WriteLine ("The area of the Room is " + Area);

Console.WriteLine("The number of gallons paint needed to paint the Room is " + Gallons);

}

 

}

class PaintingDemo

{

static void Main(string[] args)

{

int l, w, h;

Room[] r = new Room[8];

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

{

Console.WriteLine("Room "+(i+1));

Console.Write("Enter Length : ");

l = Convert.ToInt32(Console.ReadLine() );

Console.Write("Enter Width : ");

w = Convert.ToInt32(Console.ReadLine());

Console.Write("Enter Height : ");

h= Convert.ToInt32(Console.ReadLine());

r[i] = new Room(l,w,h);

Console.WriteLine();

}

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

{

Console.WriteLine("Room " + (i + 1));

r[i].WallAreaAndNumberGallons();

}

Console.ReadKey();  

}

}

}

3 0
3 years ago
List the three parts of an atom in the Bohr Model
gogolik [260]
Structure Of The Atom: Our current model of the atom can be broken down into three constituents parts – protons, neutron, and electrons. Each of these parts has an associated charge, with protons carrying a positive charge, electrons having a negative charge, and neutrons possessing no net charge.
7 0
3 years ago
Other questions:
  • A solid titanium alloy [G 114 GPa] shaft that is 720 mm long will be subjected to a pure torque of T 155 N m. Determine the mini
    5·1 answer
  • The water behind Hoover Dam is 206m higher than the Colorado river below it. At what rate must water pass through the hydraulic
    15·2 answers
  • The Review_c object has a lookup relationship up to the Job_Application_c object. The job_Application_c object has a master-deta
    7·1 answer
  • 8. Which of the following is a characteristic of no-till farming?
    8·1 answer
  • Compute the thermal efficiency for an ideal gas turbine cycle that operates with a pressure ratio of 6.75 and uses helium gas.
    12·1 answer
  • A civil engineer is likely to fit in which of the Holland occupational codes?
    14·2 answers
  • Prelest! Introduction to Engineering and Technology 1 Select the correct answer. What technological invention allowed for the pr
    5·1 answer
  • 1. In order to minimize hazards, what should you do before starting a job
    10·2 answers
  • Scientists use characteristics to compare stars. Match each characteristic on the left with the statement on the right that uses
    15·1 answer
  • The air conditioner in a house or a car has a cooler that brings atmospheric air from 30C to 10C, with both states at 101KPa. If
    12·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!