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
olga55 [171]
3 years ago
12

Write a loop that prints the first 128 ASCII values followed by the corresponding characters (see the section on characters in C

hapter 2). Be aware that most of the ASCII values in the range "0..31" belong to special control characters with no standard print representation, so you might see strange symbols in the output for these values.

Engineering
1 answer:
GalinKa [24]3 years ago
7 0

Explanation:

Please refer to the attached image

Python Code:

Please refer to the attached image

Output:

Please refer to the attached image

You might be interested in
ENERGIA
VMariaS [17]

nswer:

i dont understand french

97

Explanation:

4 0
3 years ago
An Otto cycle engine is analyzed using the air standard method. Given the conditions at state 1, compression ratio (r), and pres
My name is Ann [436]

Answer:

A)  222.58 kJ / kg

B)  0.8897 M^3/ kg

c)  0.7737 m^3/kg

D)  746.542 k

E)  536.017 kj/kg

efficiency = 58% ( approximately )

Explanation:

Given Data :

Gas constant (R) =  0.287 kJ/ kg.K

T1 = 310 k

P1 ( Kpa ) = 100

r = 11.5 ( compression ratio )

rp = 1.95 ( pressure ratio )

A ) specific internal energy at state 1

 = Cv*T1 =  0.718 * 310 = 222.58 kJ / kg

B) Relative specific volume at state 1

= P1*V1 = R*T1 ( ideal gas equation )

V1 = R*T1 / P1 = (0.287* 10^3*310 ) / 100 * 10^3

V1 = 88.97 / 100 = 0.8897 M^3/ kg

C ) relative specific volume at state 2

Applying  r ( compression ratio) = V1 / V2

11.5 = 0.8897 / V2

V2 = 0.8897 / 11.5 = 0.7737 m^3/kg

D) The temperature (k) at state 2

since the process is an Isentropic process we will apply the p-v-t relation

\frac{T1}{T2} = (\frac{V1}{V2}^{n-1}  ) = (\frac{P2}{P1} )^{\frac{n-1}{n} }

hence T2 = 9^{1.4-1} * 310 = 2.4082 * 310 = 746.542 k

e) specific internal energy at state 2

= Cv*T2 = 0.718  * 746.542 = 536.017 kj/kg

efficiency = output /input = 390.3511 / 667.5448 ≈ 58%

attached is a free hand diagram of an Otto cycle is attached below

3 0
4 years ago
PythonA group of statisticians at a local college has asked you to create a set of functionsthat compute the median and mode of
skelet666 [1.2K]

Answer:

  1. def median(l):
  2.    if(len(l) == 0):
  3.       return 0
  4.    else:
  5.        l.sort()
  6.        if(len(l)%2 == 0):
  7.            index = int(len(l)/2)
  8.            mid = (l[index-1] + l[index]) / 2
  9.        else:
  10.            mid = l[len(l)//2]  
  11.        return mid  
  12. def mode(l):
  13.    if(len(l)==0):
  14.        return 0
  15.    mode = max(set(l), key=l.count)
  16.    return mode  
  17. def mean(l):
  18.    if(len(l)==0):
  19.        return 0
  20.    sum = 0
  21.    for x in l:
  22.        sum += x
  23.    mean = sum / len(l)
  24.    return mean
  25. lst = [5, 7, 10, 11, 12, 12, 13, 15, 25, 30, 45, 61]
  26. print(mean(lst))
  27. print(median(lst))
  28. print(mode(lst))

Explanation:

Firstly, we create a median function (Line 1). This function will check if the the length of list is zero and also if it is an even number. If the length is zero (empty list), it return zero (Line 2-3). If it is an even number, it will calculate the median by summing up two middle index values and divide them by two (Line 6-8). Or if the length is an odd, it will simply take the middle index value and return it as output (Line 9-10).

In mode function, after checking the length of list, we use the max function to estimate the maximum count of the item in list (Line 17) and use it as mode.

In mean function,  after checking the length of list,  we create a sum variable and then use a loop to add the item of list to sum (Line 23-25). After the loop, divide sum by the length of list to get the mean (Line 26).

In the main program, we test the three functions using a sample list and we shall get

20.5

12.5

12

3 0
3 years ago
John, a team member, has completed e0 - agile for beginners he wants to contribute to tcs agile vision. he wants to find out wha
Jet001 [13]

Answer:

John should detail his Scrum Master.

Explanation:

The Team Lead or Scrum Master coordinates the tasks of individual team members and supports the progress of the team. The Scrum Master usually receives instructions from the Product Owner and then ensures that the tasks are performed accordingly.  She also coaches the Development Team and works with the Product Owner to carry out daily development activities.  She also drives the Scrum Values and Principles, ensuring that the team members understand and practice them.

7 0
3 years ago
Can someone answer plz!! It’s 24 points
fgiga [73]

Explanation:

750 microvolt is your answer

please mark as brilliant

3 0
3 years ago
Read 2 more answers
Other questions:
  • A production plant has a requirement for a counter that will count 4,000 items before recycling and starting over. How many D fl
    15·1 answer
  • The head difference between the inlet and outlet of a 1km long pipe discharging 0.1 m^3/s of water is 0.53 m. If the diameter is
    11·1 answer
  • The pistons of a V-6 automobile engine develop 226.5 hp. If the engine driveshaft rotational speed is 4700 RPM and the torque is
    14·1 answer
  • A series R-L circuit is given. Circuit is connected to an AC voltage generator. a) Derive equations for magnitude and phase of c
    13·1 answer
  • Is it more difficult to pump oil from a well on dry land or a well under water?Why?
    11·1 answer
  • I need solution fast plesss​
    9·1 answer
  • Two identical bulbs in parallel in a radio create a total resistance of 15 ohms in the circuit. What's the resistance of each of
    6·1 answer
  • Describe in detail the process of making a collapsable bowl.​
    11·1 answer
  • Which cod is the best whoever has the best awnser gets brainliest​
    12·1 answer
  • Contrast moral and immoral creativity and innovation<br>​
    12·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!