Question

In: Other

A bicycle rider is interested in the effects of temperature on air density. A change in...

A bicycle rider is interested in the effects of temperature on air density. A change in temperature will also affect the tire pressure.

a) Write a computer program that calculates air density at atmospheric pressure for temperatures from -10?C to 50?C.

b) Assume that a bicycle tire is inflated to an absolute pressure of 450 kPa at 20?C. Assume also that the volume of the tire does not change with temperature. Write a program to show how the tire pressure changes with the temperature in the same range, -10?C to 50?C.

Prepare a table or graph or both.

Solutions

Expert Solution

MATLAB is used

Ideal gas equation;

A) MATLAB Script

%Universal gas constant
R = 8.314;
%Formula: density = Pressure x Molar mass / R / T
%Atmosphere pressure in Pascals
P = 101325 ;
%Array for temperature in celsius between -10 and 50
Tc = [-10;-5;0;5;10;15;20;25;30;35;40;45;50];
%Temperature in Kelvin
T = Tc + 273.15;
%Molar mass of 0.0289 kg/mol
M = 0.0289;
%Density in kg/m^3
d = (P*M/R)./T;
y(:,1)=Tc;
y(:,2)=d;
y
plot(Tc,d)
xlabel('Temperature in Celsius')
ylabel('Density in kg/m^3')
title('Graph showing variation of density with temp')

----

Result:

This is the table (Temp and density) along with the graph

B) Script

%At constant volume
%Pv = RT
%Thus, p1/p2 = T1/T2
%Initial pressure in kPa
P_initial = 450;
%Initial temp in celsius
Tc_initial = 20;
%Initial temp in K
T_initial = Tc_initial + 273.15;
%Making an array of temp in celsius
Tc = [-10;-5;0;5;10;15;20;25;30;35;40;45;50];
%Converting celsius to K
T = Tc + 273.15;
%Command to calculating pressure
P = (P_initial/T_initial)*T;
%Storing temp and pressure values in one array
y(:,1)=Tc;
y(:,2)=P;
y
plot(Tc,P)
xlabel('Temperature in Celsius')
ylabel('Pressure in kPa')
title('Variation of pressure inside tyre with temperature')


----

Result:

Both table ( y has first column as temperature in C and second column as Pressure in kPa) and graph are shown.

----

MATLAB is the best coding language for a chemical engineer. Hope the solutions helped you. For any doubts, please leave a comment. Also, if you liked the solution, please give a positive review. It would really be helpful.


Related Solutions

A bicycle rider is interested in the effects of temperature on air density. A change in...
A bicycle rider is interested in the effects of temperature on air density. A change in temperature will also affect the tire pressure. a) Write a computer program that calculates air density at atmospheric pressure for temperatures from -10?C to 50?C. b) Assume that a bicycle tire is inflated to an absolute pressure of 450 kPa at 20?C. Assume also that the volume of the tire does not change with temperature. Write a program to show how the tire pressure...
1.How do air temperature and pressure change with height?
1.How do air temperature and pressure change with height?
As our planet warms, the change in temperature will have major effects on life. One of...
As our planet warms, the change in temperature will have major effects on life. One of the possibilities for what might happen to a species is that species can move closer to the poles so that it experienced temperatures closer to what it has experienced in the past. A recent study of the range of limits of European butterflies found that, of 24 species that had changed their ranges in the last 100 years, 22 of them had moved further...
Consider rider on a typical bicycle pedalling up a hill. Specifically, the case when the cyclist...
Consider rider on a typical bicycle pedalling up a hill. Specifically, the case when the cyclist is using their body weight alone to apply the pedalling force. Draw a diagram of the situation that you can analyse the system and answer the following questions: a) Does the mass of the rider affect the acceleration of the bike (and rider) up the hill? b) Is there an optimum ratio from pedal crank radius to rear wheel (including the chain drive ratio)...
PROMT: Climate Change Effects on Marine Iguana Mortality Hypothesis: If the water temperature in the Galapagos...
PROMT: Climate Change Effects on Marine Iguana Mortality Hypothesis: If the water temperature in the Galapagos Islands changed from being hot (around 77 degrees) to cold (under 70 degrees), then the mortality rate of Marine Iguanas will increase. Variables: The independent variable is the temperature of the water that the Marine Iguanas live in. The dependent variable is the mortality rate of the Marine Iguanas. The mortality rate of the Marine Iguanas at the average water temperatures of their habitat....
A)The change of fish density is provided by the gas of negligible density in the fish...
A)The change of fish density is provided by the gas of negligible density in the fish bladder. If fish body density is 1.067 g/cm^3 , calculate the volume of the swim bladder (as percent of the total volume of fish) providing with the average density of 1.024 g/cm^3 . B)When the rate of blood flow in aorta is 5 Liter/min , the velocity of the blood in capillaries is about 0.3 min/sec . If the average diameter of capillary is...
Show that the density of moist air is less than that of dry air both at...
Show that the density of moist air is less than that of dry air both at the same temperature and pressure. Does this difference between the densities of moist air and dry air, for given pressure and temperautre have any relevance to atmospheric processes?
1-A solution has a temperature change of 20 K. What is the temperature change in degree...
1-A solution has a temperature change of 20 K. What is the temperature change in degree Celsius? Flag this Question Question 2 Students used two thermometers in Thermo lab. If both thermometers consistently read temperature exactly 1.0 degree higher than the actual temperature, how does this affect the experimental molar heat of neutralization? A-It has an unknown impact on the molar heat of neutrailization. B-This will make the molar heat of neutrailization higher C-Since the temperature differences are used in...
A psychopharmacologist (a psycholgist interested in the effects of drugs and physiology) is interested in determining...
A psychopharmacologist (a psycholgist interested in the effects of drugs and physiology) is interested in determining the effects of caffeine (from coffee) on performance. Twenty students from a large introductory psychology class volunteered to participate in the study; all were dedicated coffee drinkers and all drank caffeinated coffee. The volunteers were then randomly divided into two groups such that there were ten students in each group. One group of 10 students was asked to study the material while drinking their...
Backround: A subject was put on a stationary bicycle and their respiration, skin temperature and heart...
Backround: A subject was put on a stationary bicycle and their respiration, skin temperature and heart rate were measured before during and after exercising and reaching 80% of their heart rate. How do you know a subject reached anaerobic threshold (the point at which lactate production exceeds the body’s ability to utilize it, and blood lactate levels start increasing) during exercise? What physiological markers could we have measured that would have enabled you to KNOW whether or not your subject...
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT