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
Mandarinka [93]
2 years ago
7

In python, how would I randomize numbers and insert them into a file?

Engineering
1 answer:
BabaBlast [244]2 years ago
7 0
Random integer values can be generated with the randint() function. This function takes two arguments: the start and the end of the range for the generated integer values. Random integers are generated within and including the start and end of range values, specifically in the interval [start, end].
You might be interested in
A two-phase mixture of water and steam with a quality of 0.63 and T = 300F expands isothermally until only saturated vapor rema
VMariaS [17]

Answer:

Explanation:

Hello!

To solve this problem you must follow the following steps, which are fully registered in the attached image.

1. Draw the complete outline of the problem.

2. Through laboratory tests, thermodynamic tables were developed, these allow to know all the thermodynamic properties of a substance (entropy, enthalpy, pressure, specific volume, internal energy etc ..)

through prior knowledge of two other properties.

3. Use temodynamic tables to find the density of water in state 1, by means of temperature and quality, with this value and volume we can find the mass.

3. Use thermodynamic tables to find the internal energy in state 1 and two using temperature and quality.

4. uses the first law of thermodynamics that states that the energy in a system is always conserved, replaces the previously found values ​​and finds the work done.

5. draw the pV diagram using the 300F isothermal line

5 0
3 years ago
What entrepreneurial activities do you know?are you capable of doing entrepreneurial activities
kherson [118]

Answer:

.,m

Explanation:

.,m

5 0
3 years ago
thier only motto and goal is to work for society and not make any profits A.small business entreprenuership B.scalable start up
sweet-ann [11.9K]

Answer:

social entrepreneurship

8 0
3 years ago
Read 2 more answers
If a signal is transmitted at a power of 250 mWatts (mW) and the noise in the channel is 10 uWatts (uW), if the signal BW is 20M
Bess [88]

Answer:

C = 292 Mbps

Explanation:

Given:

- Signal Transmitted Power P = 250mW

- The noise in channel N = 10 uW

- The signal bandwidth W = 20 MHz

Find:

what is the maximum capacity of the channel?

Solution:

-The capacity of the channel is given by Shannon's Formula:

                            C = W*log_2 ( 1 + P/N)

- Plug the values in:

                            C = (20*10^6)*log_2 ( 1 + 250*10^-3/10)

                            C = (20*10^6)*log_2 (25001)

                            C = (20*10^6)*14.6096

                           C = 292 Mbps

3 0
3 years ago
5) Calculate the LMC wal thickness of a pipe and tubing with OD as 35 + .05 and ID as 25 + .05 A) 4.95 B) 5.05 C) 10 D) 15.025
padilas [110]

Answer:

B) 5.05

Explanation:

The wall thickness of a pipe is the difference between the diameter of outer wall and the diameter of inner wall divided by 2. It is given by:

Thickness of pipe = (Outer wall diameter - Inner wall diameter) / 2

Given that:

Inner diameter = ID = 25 ± 0.05, Outer diameter = OD = 35 ± 0.05

Maximum outer diameter = 35 + 0.05 = 35.05

Minimum inner diameter = 25 - 0.05 = 24.95

Thickness of pipe = (maximum outer wall diameter - minimum inner wall diameter) / 2 = (35.05 - 24.95) / 2 = 5.05

or

Thickness = (35 - 25) / 2 + 0.05 = 10/2 + 0.05 = 5 + 0.05 = 5.05

Therefore the LMC wall thickness is 5.05

6 0
3 years ago
Read 2 more answers
Other questions:
  • Number the statements listed below in the order that they would occur in engine operation. Then, label these stages as intake, c
    14·1 answer
  • A baseband signal with a bandwidth of 100 kHz and an amplitude range of±1 V is to be transmitted through a channel which is cons
    8·2 answers
  • Consider two water tanks filled with water. The first tank is 8 m high and is stationary, while the second tank is 2 m high and
    12·2 answers
  • Complete the following sentence. Engineers explore biology, chemistry, and physics for use in scenarios.
    8·2 answers
  • A 1200-kg car moving at 20 km/h is accelerated
    5·1 answer
  • What are three automotive safety systems
    14·1 answer
  • Tech A says that proper footwear may include both leather and steel-toed shoes. Tech B says that when working in the shop, you o
    15·1 answer
  • What is the name of the part that supports the headlight assembly?
    15·1 answer
  • An ocean thermal energy conversion system is being proposed for electric power generation. Such a system is based on the standar
    5·1 answer
  • A spherical metal ball of radius r_0 is heated in an oven to a temperature of T_1 throughout and is then taken out of the oven a
    6·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!