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
Genrish500 [490]
3 years ago
15

Write a function to find the factors of an input number. The function should have one input n and a single output of a vector wh

ose entries are the factors of n. The only built in functions you are allowed to use are mod or rem (I would prefer mod). Demonstrate that your function works as expected.
Engineering
1 answer:
Hoochie [10]3 years ago
6 0

The following is the program.                                                          

<u>Explanation</u>:

  • We should  find the factors of input number
  • We can use  python to find the factors of input number
  • In this program, we can use the mod function.

def print_factors(y):

   print("The factors of",y,"are:")

     for j in range(1, y + 1):

          if y % j == 0:

                print(j)

num = 320

print_factors(num)

The above program calculates the factors of n. Here def is called as define function. We are calculating the factors of y. After that, we are giving them for the condition. If the condition is true it will print the factors of y.

                                   

You might be interested in
9. A vehicle is having routine maintenance performed.
dexar [7]

Answer: b

Explanation:

8 0
3 years ago
Material selection is one of the design considerations for electronic packages. Explain how each of the material properties belo
ValentinkaMS [17]

Answer:

The explanations are provided below.

Explanation:

a) The accelerated thermal cycling test is a test that is performed to evaluate the fatigue strength of electronic solder connections. The glass transition temperature given as T_{g} is a frequently used parameter to test the degree of cure of an epoxy encapsulant.

b) The Coefficient of Thermal Expansion of Encapsulant

This is an important parameter to prevent crackling. Crackling occurs when a joint is subjcted to high temperatures during reflow soldering. Thus, the property is important in determining the limits of the joint.

7 0
3 years ago
Quadrature encoders operate with two photodetectors offset by _______ degrees. (a) 45 (b) 90 (c) 180 (d) 270
Lemur [1.5K]

Answer:

i think it should be 90 degree

5 0
3 years ago
The typical measurement of hotel demand is the room night (RN). When we say that each room night is perishable , we mean that on
Marta_Voda [28]

Answer:

Yes once a room is not rented for a couple of hours in the night then it is perishable.

8 0
3 years ago
Air initially at 15 psla and 60 F is compressed to 75 psia and 400 F. The power input to air under steady state condition is 5 h
Triss [41]

Answer:\dot{m}=3.46lbm/min

Explanation:

Initial conditions

P_1=15 psia

T_1=60 F^{\circ}

Final conditions

P_2=75 psia

T_2=400F^{\circ}

Steady flow energy equation

\dot{m}\left [ h_1+\frac{v_1^2}{2}+gz_1\right ]+\dot{Q}=\dot{m}\left [ h_2+[tex]\frac{v_2^2}{2}+gz_2\right ]+\dot{W}

\dot{m}\left [ c_pT_1+\frac{0^2}{2}+g0\right ]+\dot{Q}=\dot{m}\left [ c_pT_2+\frac{0^2}{2}+g0\right ]+\dot{W}

\dot{m}c_p\left [ T_1-T_2\right ]+\left [ -5hp\right ]=\dot{W} -5\times 746\times 3.4121

-4\dot{m}-\dot{m}\times 0.24\times \left [ 400-60\right ]

-81.6\dot{m}-4\dot{m}=-4.949 BTU/sec

\dot{m}=0.057821lbm/sec

\dot{m}=3.46lbm/min

3 0
3 years ago
Other questions:
  • The in situ moist unit weight of a soil is 17.3 kN/m3 and the moisture content is 16%. The specific gravity of soil solids is 2.
    12·1 answer
  • Consider the following set of processes, with the length of the CPU burst given in milliseconds:Process Burst Time PriorityP1 2
    12·1 answer
  • Liquid water is fed to a boiler at 24°C and 10 bar is converted at a constant pressure to saturated steam.
    12·1 answer
  • Air at 105 kPa and 37° C flows upward through a6-cm-diameter inclined duct at a rate of 65 L/s. The duct diameter is then reduce
    12·1 answer
  • View the picture below and then correctly answer the questions using the following words: Temperate Zone, Tropical Zone, Polar Z
    6·2 answers
  • Name the manufacturing process that the worker is using to create the workpiece. The manufacturing process carried out by the bl
    6·1 answer
  • How can we love our country? Not by words but by deeds. - Jose P. Laurel
    7·1 answer
  • Which of the following is a correct version of a user story?
    8·1 answer
  • Explain and show work:
    8·1 answer
  • error: request for member 'setcursor' in 'oled', which is of non-class type 'adafruit ssd1306(int, int)' oled.setcursor(x, accel
    8·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!