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
castortr0y [4]
3 years ago
13

Write a function digits() that accepts a non-negative integer argument n and returns the number of digits in it’s decimal repres

entation. For credit, you should implement this using a loop and repeated integer division; you should not use math.log(), math.log10(), or conversion to string
Engineering
1 answer:
Katyanochek1 [597]3 years ago
3 0

Answer:

Explanation:

Let do this in python. We will utilize the while loop and keep on dividing by 10 until that number is less than 10. Along the loop we will count the number of looping process. Once the loop ends, we can output that as answer.

def digits(n):

    n_digit = 1

    while n >= 10:

         n_digit += 1

         n /= 10

    return n_digit

You might be interested in
. H<br> Kijwhayhwbbwyhwbwbwgwwgbwbwhwh
dsp73
Yes. Gggggggggghhhhh
3 0
3 years ago
Read 2 more answers
All circuits need three basic parts: an energy source, wires, and the object that is going to change the electrical energy into
Radda [10]

load every electric circuit,regardless of where it is or how large or small, has four basic parts: an energy source (ac or dc),a conductor (wire), an electrical load (device), and at least one controller(switch)
7 0
3 years ago
Read 2 more answers
A meter stick can be read to the nearest millimeter and a travelling microscope can be read to the nearest 0.1 mm. Suppose you w
german

Answer: No

Explanation:

Length= 2cm= 20mm

Now meter stick can read to nearest millimeter.

It is given that length is to be measured with a precision of 1% of 20mm= 1/100 * 20= 0.2mm

Since the least count is 1mm of meter stick and precision required is less than that. So, meter stick cannot be used for this, travelling microscope can be used for this as it can read to 0.1mm.

3 0
3 years ago
PLS HELP ME
Oksana_A [137]

Answer:

The Euler buckling load of a 160-cm-long column will be 1.33 times the Euler buckling load of an equivalent 120-cm-long column.

Explanation:

160 - 120 = 40

120 = 100

40 = X

40 x 100 / 120 = X

4000 / 120 = X

33.333 = X

120 = 100

160 = X

160 x 100 /120 = X

16000 / 120 = X

133.333 = X

4 0
3 years ago
An air-conditioning system operating on the reversed Carnot cycle is required to transfer heat from a house at a rate of 755 kJ/
Lyrx [107]

Answer:

There is 0.466 KW required to operate this air-conditioning system

Explanation:

<u>Step 1:</u> Data given

Heat transfer rate of the house = Ql = 755 kJ/min

House temperature = Th = 24°C = 24 +273 = 297 Kelvin

Outdoor temperature = To = 35 °C = 35 + 273 = 308 Kelvin

<u>Step 2: </u> Calculate the coefficient of performance o reversed carnot air-conditioner working between the specified temperature limits.

COPr,c = 1 / ((To/Th) - 1)

COPr,c = 1 /(( 308/297) - 1)

COPr,c = 1/ 0.037

COPr,c = 27

<u>Step 3:</u> The power input cna be given as followed:

Wnet,in = Ql / COPr,max

Wnet, in = 755  / 27

Wnet,in = 27.963 kJ/min

Win = 27.963 * 1 KW/60kJ/min  = 0.466 KW

There is 0.466 KW required to operate this air-conditioning system

3 0
2 years ago
Other questions:
  • Given the following data, plot the stress-strain curves for the two unknown materials on the same set of stress-strain axes. Den
    9·1 answer
  • Suppose that the voltage is reduced by 10 percent (to 90 VV). By what percentage is the power reduced? Assume that the resistanc
    10·1 answer
  • Select the correct answer.
    6·1 answer
  • Which of the following relationship types most closely resembles the relationship between the national importance of residential
    15·1 answer
  • The image shows the relative positions of Earth and the Sun for each of the four seasons. Earth travels in an elliptical orbit a
    11·2 answers
  • Hi all any one help me?? ​
    12·2 answers
  • Global climate and weather patterns are driven by differences in the amount of heat energy in different areas of the earth. Whic
    9·1 answer
  • The metric ruler is typically divided into
    6·2 answers
  • An electrical layout is a drawing that indicates how the ________ of a circuit will be connected to one another and where the wi
    9·1 answer
  • Can someone help me LA project pls :((
    8·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!