Question

The viscosity of gases depends on the temperature. For some gases the following formula is relevant:...

The viscosity of gases depends on the temperature. For some gases the following formula is relevant:
µ(T) = µ0
T0 −C T + C T T01.5 where the values of the constants C,T0, and µ0 are found in the le viscosity_of_gases.dat. The temperature is measured in Kelvin.
(a) Load the le into a nested dictionary mu_data such that we can look up C , T0 , and µ0 for a gas with name name by mu_data[name][X], where X is ’C’ for C , ’T_0’ for T0, and ’mu_0’ for µ0. (b) Make a function mu(T, gas, mu_data) for computing µ(T) for a gas with name gas (according to the le) and information about constants C, T0 , and µ0 in mu_data. (c) Plot µ(T) for air, carbon dioxide, and hydrogen with T ∈ [223,373]. In python

# Viscosity data of some gases
# Sutherland's formula for the viscosity:
# mu = mu_0*(T_0 + C)/(T + C)(T/T_0)**1.5
# Column 1: gas name
# Column 2: C (in Kelvin) (Sutherland's constant)
# Column 3: T_0 (in Kelvin)
# Column 4: mu_0 (in 10**-6 Pa*s)

#   gas           C     T_0     mu_0
air              120   291.15   18.27
nitrogen         111   300.55   17.81
oxygen           127   292.25   20.18
carbon dioxide   240   293.15   14.8
carbon monoxide 118   288.15   17.2
hydrogen          72   293.85   8.76
ammonia          370   293.15   9.82
sulphur dioxide 416   293.65   12.54

0 0
Add a comment Improve this question Transcribed image text
Answer #1

Answer:

viscosity_data = air,120,291.15,18.27 nitrogen, 111,300.55,17.81 oxygen,127,292.25,20.18 carbon dioxide,240,293.15,14.8 carb

Add a comment
Know the answer?
Add Answer to:
The viscosity of gases depends on the temperature. For some gases the following formula is relevant:...
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT