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
Given a mass-spring-damper system. The impulse response of strength 1 can be obtained from a unit step response by: ______
Alina [70]

Answer:

Multiplying impulse response by t  ( option D )

Explanation:

We can obtain The impulse response of strength 1 considering a unit step response by Multiplying impulse response by t .

When we consider the Laplace Domain, and the relationship between unit step and impulse, we can deduce that the Impulse response will take the inverse Laplace transform of the function ( transfer ) . Hence Multiplying impulse response by t will be used .

5 0
3 years ago
Determine the work input and entropy generation during the compression of steam from 100 kPa to 1 MPa in (a) an adiabatic pump a
Goshia [24]

Answer:

See attachment below

Explanation:

6 0
3 years ago
An excavation is at risk for cave-in and water accumulation because of the excess soil that has accumulated. What type of excava
s344n2d4d5 [400]

Answer:

Among the different types of excavation protection system, as a way of preventing accidents against cave-ins, the sloping involves cutting back the trench wall at an angle inclined away from the excavation. Shoring requires installing aluminum hydraulic or other types of supports to prevent soil movement and cave-ins. Shielding protects workers by using trench boxes or other types of supports to prevent soil cave-ins (OSHA). In addition, the regulations do not allow employees to work on excavations where there is an accumulation of water. If this occurs, water on the site must be constantly removed by suitable equipment preventing water from accumulating. The entry of surface water into the excavations must also be prevented by means of diversion ditches, dam, or other suitable means.  

Explanation:

3 0
3 years ago
A certain printer requires that all of the following conditions be satisfied before it will send a HIGH to la microprocessor ack
Elza [17]

Answer:

D) AND gate.

Explanation:

Given that:

A certain printer requires that all of the following conditions be satisfied before it will send a HIGH to la microprocessor acknowledging that it is ready to print

These conditions are:

1. The printer's electronic circuits must be energized.

2. Paper must be loaded and ready to advance.

3. The printer must be "on line" with the microprocessor.

Now; if these conditions are met  the logic gate produces a HIGH output indicating readiness to print.

The objective here is to determine the basic logic gate used in this circuit.

Now;

For NOR gate;

NOR gate gives HIGH only when all the inputs are low. but the question states it that "a HIGH is generated and applied to a 3-input logic gate". This already falsify NOR gate to be the right answer.

For NOT gate.

NOT gate operates with only one input and one output device but here; we are dealing with 3-input logic gate.

Similarly, OR gate gives output as a high if any one of the input signals is high but we need "a HIGH that is generated and applied to a 3-input logic gate".

Finally, AND gate output is HIGH only when all the input signal is HIGH and vice versa, i.e AND gate output is LOW only when all the input signal is LOW. So AND gate satisfies the given criteria that; all the three conditions must be true for the final signal to be HIGH.

3 0
3 years ago
Three point charges, each with q = 3 nC, are located at the corners of a triangle in the x-y plane, with one corner at the origi
lawyer [7]

Answer:

\vec F_{A} = -67500\,N\cdot (i + j)

Explanation:

The position of each point are the following:

A = (0\,m,0\,m,0\,m), B = (0.02\,m,0\,m,0\,m), C = (0\,m,0.02\,m,0\,m)

Since the three objects report charges with same sign, then, net force has a repulsive nature. The net force experimented by point charge A is:

\vec F_{A} = \vec F_{AB} + \vec F_{AC}

\vec F_{A} = -\frac{k\cdot q^{2}}{r_{AB}^{2}}\cdot i - \frac{k\cdot q^{2}}{r_{AC}^{2}}\cdot j

\vec F_{A} = - \frac{k\cdot q^{2}}{r^{2}} \cdot (i + j)

\vec F_{A} = -\frac{(9 \times 10^{9}\,\frac{N\cdot m^{2}}{C^{2}} )\cdot (3\times 10^{-9}\,C)}{(0.02\,m)^{2}}\cdot (i + j)

\vec F_{A} = -67500\,N\cdot (i + j)

6 0
3 years ago
Other questions:
  • Explain the two advantages and the two disadvantages of fission as an energy source.
    12·1 answer
  • what is the method of the slope stabilization, and how many type of method of the stabilization, please help explain the types o
    13·1 answer
  • How do you put air knight in slingshock mode.
    9·1 answer
  • This is a multi-part question. Once an answer is submitted, you will be unable to return to this part As steam is slowly injecte
    15·1 answer
  • The average human heart Beats 1.15 times 10 to the power of 5 per day. There are 3.65 times 10 to the power of 2 days in one yea
    14·1 answer
  • A city emergency management agency and a construction company have formed a public-private partnership. The construction company
    15·1 answer
  • A hollow, spherical shell with mass 2.00kg rolls without slipping down a slope angled at 38.0?.
    15·1 answer
  • What can be used to relieve stress in a weld.
    12·2 answers
  • If a nurse does not agree to the discipline set due to a complaint made against this nurse, after reviewing the proposed agreed
    14·1 answer
  • A particle moving on a straight line has acceleration a = 5-3t, and its velocity is 7 at time t = 2. If s(t) is the distance fro
    7·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!