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
Why is a universal joint useful?
zubka84 [21]

Answer:

the are useful because they transmit a rotary motion they are used in shafts like the driveshaft in a car

Explanation:

3 0
4 years ago
(a) Consider a message signal containing frequency components at 100, 200, and 400 Hz. This signal is applied to a SSB modulator
MakcuM [25]

Answer:

Explanation:

The frequency components in the message signal are

f1 = 100Hz, f2 = 200Hz and f3 = 400Hz

When amplitude modulated with a carrier signal of frequency fc = 100kHz

Generates the following frequency components

Lower side band

100k - 100 = 99.9kHz\\\\100k - 200 = 99.8kHz\\\\100k - 400 = 99.6kHz\\\\

Carrier frequency 100kHz

Upper side band

100k + 100 = 100.1kHz\\\\100k + 200 = 100.2kHz\\\\100k + 400 = 100.4kHz

After passing through the SSB filter that filters the lower side band, the transmitted frequency component will be

100k, 100.1k, 100.2k\ \texttt {and}\ 100.4kHz

At the receive these are mixed (superheterodyned) with local ocillator frequency whichh is 100.02KHz, the output frequencies will be

100.02 - 100.1k = 0.08k = 80Hz\\\\100.02 - 100.2k = 0.18k = 180Hz\\\\100.02 - 100.4 = 0.38k = 380Hz

After passing through the SSB filter that filters the higher side band, the transmitted frequency component will be

100k, 99.9k, 99.8k\ \ and \ \99.6kHz

At the receive these are mixed (superheterodyned) with local oscillator frequency which is 100.02KHz, and then fed to the detector whose output frequencies will be

100.02 - 99.9k = 0.12k = 120Hz\\\\100.02 - 99.8k = 0.22k = 220Hz\\\\100.02 - 99.6k = 0.42k = 420Hz

3 0
3 years ago
Not sure which one....
Airida [17]
I think downwards as that's how most saw's work.
4 0
3 years ago
Compute the area and circumference of a circle given the radius r if the radius is greater than or equal to 1.0; otherwise, you
Maslowich

In this question we shall present the algorithm in pseudocode, whose structure is now summarized:

1) Inputs.

2) Algorithms.

3) Outputs.

Please notice that While-cycles consider the requirement of using the algorithm as many times as user wants.

Name: Area-or-Circunference

CHAR - <em>decide</em>

REAL - <em>radius</em>, <em>circumference</em>, <em>area</em>

Say <em>"Do you want to calculate? [Y] - Yes/[N] - No"</em>;

Write <em>decide</em>;

While (<em>decide</em> != 'Y' and <em>decide</em> != 'y' and <em>decide</em> != 'N' and <em>decide</em> != 'n'):

    Say <em>"Invalid option. Do you want to calculate? [Y] - Yes/[N] - No"</em>;

    Write <em>decide</em>;

end-While

While (<em>decide</em> = 'Y' or <em>decide</em> = 'y'):

    Say <em>"Please indicate a radius"</em>;

     While (<em>radius</em> < 0):

          Say <em>"Radius must be equal or greater than 0. Please indicate a  </em>

<em>                    radius"</em>;

          Write <em>radius</em>;

      end-While

      If (<em>radius</em> < 1):

          <em>circumference</em> = 2*3.14*<em>radius</em>;

          Say <em>"The circumference has a value of %circumference length units"</em>;

       Else:

          <em>circumference</em> = 2*3.14*<em>radius</em>;

          <em>area</em> = 3.14*<em>radius</em>*<em>radius</em>;

          Say <em>"The circumference has a value of %circumference length units </em>

<em>                    and the area has a value of %area square units"</em>;

        end-If

        Say <em>"Do you want to calculate? [Y] - Yes/[N] - No"</em>;

        Write <em>decide</em>;

        While (<em>decide</em> != 'Y' and <em>decide</em> != 'y' and <em>decide</em> != 'N' and <em>decide</em> !=

        'n'):

              Say <em>"Invalid option. Do you want to calculate? [Y] - Yes/[N] - No"</em>;

              Write <em>decide</em>;

         end-While

end-While

If (<em>decide</em> = 'N' or <em>decide</em> = 'n'):

    Say "Good luck";

end-If

We kindly invite to see this question on algorithms: brainly.com/question/17780739

6 0
2 years ago
An AC power generator produces 50 A (rms) at 3600 V. The voltage is stepped up to 100 000 V by an ideal transformer and the ener
RSB [31]

Given:

I_{rms} = 50 A

voltage, V = 3600V

step-up voltage, V' = 100000 V

Resistance of line, R = 100\ohm

Solution:

To calculate % heat loss in long distance power line:

Power produced by AC generator, P = 50\times 3600 W

P = 180000 W = 180 kW

At step-up voltage, V = 100000V or 100 kV

current, I = \frac{P}{V'}

I = \frac{1800000}{100000}

I = 1.8 A

Power line voltage drop is given by:

V_{drop} = I\times R

V_{drop} = 1.8\times 100

V_{drop} = 180 V

Power dissipated in long transmission line P_{dissipated} = V_{drop}\times I

Power dissipated in long transmission line P_{dissipated} = 180\times 1.8 = 324 W

% Heat loss in power line, P_{loss} = \frac{P_{dissipated}}{P}\times 100

% Heat loss in power line, P_{loss} = \frac{324}{180000}\times 100

P_{loss} = 0.18%

 

5 0
3 years ago
Other questions:
  • Which of the following terms involves the study of all the systems, devices, knowledge, processes, organizations, items, and peo
    11·1 answer
  • When were dresses made
    10·1 answer
  • Part of a good computer posture is to sit up straight with feet flat on the floor t or f
    9·1 answer
  • In the designation of wrought Al alloys, eg. 3m, what does the first digit-3- refer to? A. The main alloying element B. Carbon p
    15·1 answer
  • Please help me in this assignment.
    13·1 answer
  • A completely mixed activated-sludge plant is being designed for a wastewater flow of 5.0 MGD. The soluble BOD concentration of t
    6·1 answer
  • Scientists believe that our solar system formed about 4.6 billion years ago from a cloud of hydrogen, helium, rock, ice, dust, a
    13·2 answers
  • If y varies inversely as x, and y =23 when x=8, find y when x=4
    14·1 answer
  • Is the science of measurement
    13·2 answers
  • How does science and technology address the problems of the society?
    6·2 answers
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!