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
Rainbow [258]
3 years ago
5

Using the celsius_to_kelvin function as a guide, create a new function, changing the name to kelvin_to_celsius, and modifying th

e function accordingly 1 def celsius_to_kelvin(value_celsius): value_kelvin -. 4 value_kelvin- value_celsius 273.15 return value_kelvin Your solution goes here 9 value_c 0.e 10 valuek=0.0 - 12 value_c 10.8 13 15 16 print (value-c, 'Cis', celsius-to-kelvin(value-c), "K.) valuek# 283.15 print (value-k, .İS', kelvin-to-celsíus (value-k), 'C') -

Engineering
1 answer:
aleksandr82 [10.1K]3 years ago
4 0

Answer:

# kelvin_to_celsius function is defined

# it has value_kelvin as argument

def kelvin_to_celsius(value_kelvin):

   # value_celsius is initialized to 0.0

   value_celsius = 0.0

   

   # value_celsius is calculated by

   # subtracting 273.15 from value_kelvin

   value_celsius = value_kelvin - 273.15

   # value_celsius is returned

   return value_celsius

   

# celsius_to_kelvin function is defined

# it has value_celsius as argument

def celsius_to_kelvin(value_celsius):

   # value_kelvin is initialized to 0.0

   value_kelvin = 0.0

   

   # value_kelvin is calculated by

   # adding 273.15 to value_celsius

   value_kelvin = value_celsius + 273.15

   # value_kelvin is returned

   return value_kelvin

   

value_c = 0.0

value_k = 0.0

value_c = 10.0

# value_c = 10.0 is used to test the function celsius_to_kelvin

# the result is displayed

print(value_c, 'C is', celsius_to_kelvin(value_c), 'K')

value_k = 283.15

# value_k = 283.15 is used to test the function kelvin_to_celsius

# the result is displayed

print(value_k, 'is', kelvin_to_celsius(value_k), 'C')

Explanation:

Image of celsius_to_kelvin function used as guideline is attached

Image of program output is attached.

You might be interested in
Oil with a density of 800 kg/m3 is pumped from a pressure of 0.6 bar to a pressure of 1.4 bar, and the outlet is 3 m above the i
Naddik [55]

Answer:

23.3808 kW

20.7088 kW

Explanation:

ρ = Density of oil = 800 kg/m³

P₁ = Initial Pressure = 0.6 bar

P₂ = Final Pressure = 1.4 bar

Q = Volumetric flow rate = 0.2 m³/s

A₁ = Area of inlet = 0.06 m²

A₂ = Area of outlet = 0.03 m²

Velocity through inlet = V₁ = Q/A₁ = 0.2/0.06 = 3.33 m/s

Velocity through outlet = V₂ = Q/A₂ = 0.2/0.03 = 6.67 m/s

Height between inlet and outlet = z₂ - z₁ = 3m

Temperature to remains constant and neglecting any heat transfer we use Bernoulli's equation

\frac {P_1}{\rho g}+\frac{V_1^2}{2g}+z_1+h=\frac {P_2}{\rho g}+\frac{V_2^2}{2g}+z_2\\\Rightarrow h=\frac{P_2-P_1}{\rho g}+\frac{V_2^2-V_1^2}{2g}+z_2-z_1\\\Rightarrow h=\frac{(1.4-0.6)\times 10^5}{800\times 9.81}+\frac{6.67_2^2-3.33^2}{2\times 9.81}+3\\\Rightarrow h=14.896\ m

Work done by pump

W_{p}=\rho gQh\\\Rightarrow W_{p}=800\times 9.81\times 0.2\times 14.896\\\Rightarrow W_{p}=23380.8\ W

∴ Power input to the pump 23.3808 kW

Now neglecting kinetic energy

h=\frac{P_2-P_1}{\rho g}+z_2-z_1\\\Righarrow h=\frac{(1.4-0.6)\times 10^5}{800\times 9.81}+3\\\Righarrow h=13.19\ m\\

Work done by pump

W_{p}=\rho gQh\\\Rightarrow W_{p}=800\times 9.81\times 0.2\times 13.193\\\Rightarrow W_{p}=20708.8\ W

∴ Power input to the pump 20.7088 kW

6 0
3 years ago
What parts of a ship have plastic? And what type of plastic?
goblinko [34]

Answer:

I know ship has stream line body

3 0
3 years ago
A 0.25in diameter steel rod BC is securely attached between two identical 1in diameter copper rods (AB and CD). Find the torque
Helen [10]

Answer:

Tmax= 46.0 lb-in

Explanation:

Given:

- The diameter of the steel rod BC d1 = 0.25 in

- The diameter of the copper rod AB and CD d2 = 1 in

- Allowable shear stress of steel τ_s = 15ksi

- Allowable shear stress of copper τ_c = 12ksi

Find:

Find the torque T_max

Solution:

- The relation of allowable shear stress is given by:

                             τ = 16*T / pi*d^3

                             T = τ*pi*d^3 / 16

- Design Torque T for Copper rod:

                             T_c = τ_c*pi*d_c^3 / 16

                             T_c = 12*1000*pi*1^3 / 16

                             T_c = 2356.2 lb.in

- Design Torque T for Steel rod:

                             T_s = τ_s*pi*d_s^3 / 16

                             T_s = 15*1000*pi*0.25^3 / 16

                             T_s = 46.02 lb.in

- The design torque must conform to the allowable shear stress for both copper and steel. The maximum allowable would be:

                             T = min ( 2356.2 , 46.02 )

                             T = 46.02 lb-in

6 0
3 years ago
Where loads are likely to be on continuously, the calculated load for branch circuits and feeders must be figured at (100%) (125
Anna [14]

Where loads are likely to be on continuously, the calculated load for branch circuits and feeders must be figured at 125%.

Section 210.19(A)(1) permits the bigger of the two values listed below to be utilized as the connectors 's ultimate size for sizing an ungrounded branch circuit conductor:

Without any extra adjustments or corrections, either 125% of the continuous load, OR

When adjustment and corrective factors are applied, the load is 100% (not 125% as stated previously).

This will be the same in the 2020 NEC. The introduction of new exception 2 is what has changed. To comprehend this new exception, one must study it very carefully. A part of a branch circuit connected to pressure connectors (such as power distribution blocks) that complies with 110.14(C)(2) may now be sized using the continuous load plus the noncontiguous load instead of 125% of the continuous load thanks to the new exception.

To know more about connectors click here:

brainly.com/question/16987039

#SPJ4

4 0
1 year ago
What is a motor cycle motor made out of
Natali5045456 [20]

Explanation:

a motorcycle Motor is made out of iron

4 0
3 years ago
Read 2 more answers
Other questions:
  • A piece of corroded steel plate was found in a submerged ocean vessel. It was estimated that the original area of the plate was
    12·1 answer
  • A) A cross-section of a solid circular rod is subject to a torque of T = 3.5 kNâ‹…m. If the diameter of the rod is D = 5 cm, wha
    10·1 answer
  • If you were choosing between two strain gauges, one which has a single resistor in a bridge that varies and one that has two res
    11·1 answer
  • Estimate the time it would take for such axons to carry a message from a foot stepping on a sharp object to the brain and then b
    14·1 answer
  • How does the two-stroke Otto cycle differ from the four-stroke Otto cycle?
    6·1 answer
  • (30 pts) A simply supported beam with a span L=20 ft and cross sectional dimensions: b=14 in; h=20 in; d=17.5 in. is reinforced
    13·1 answer
  • True or false <br> 19. Closed systems rely on feedback from outside of the system to operate.
    12·1 answer
  • Introduction for site visit​
    13·1 answer
  • Sawzall® is another term commonly applied to?
    12·1 answer
  • Their game off badminton is always on Tuesday
    11·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!