![Thinking Like an Engineer: An Active Learning Approach (4th Edition)](https://www.bartleby.com/isbn_cover_images/9780134639673/9780134639673_largeCoverImage.gif)
Concept explainers
Write a function and program to determine the mass of oxygen gas (formula O2, molecular weight = 32) in a container in units of grams. The function accepts input arguments representing the volume of the container in units of gallons, the temperature in the container in degrees Celsius, and the pressure in the container in units of atmospheres. The function output should be a single formatted string that contains the mass of the oxygen gas formatted to + decimal place followed by the units. For example the strings ‘10.0 grams’ or ‘13.3 grams’ would be samples of the expected output of your function. Note that this function should not generate any output on the screen. The program should prompt the user to input the volume in gallons, the temperature in degrees Celsius, and the pressure in atmospheres, and then call the function to create the formatted string containing the mass. Finally, your program should contain an output statement to display the mass of the oxygen gas in the container. For your test case, you may assume that the user provides 1.25 gallons for the volume of the container, 125 degrees Celsius for the temperature, and 2.5 atmospheres for the pressure in the container.
Sample Input/Output
![Check Mark](/static/check-mark.png)
Want to see the full answer?
Check out a sample textbook solution![Blurred answer](/static/blurred-answer.jpg)
Chapter 17 Solutions
Thinking Like an Engineer: An Active Learning Approach (4th Edition)
- 4. The press in Figure 4 is used to crush a small rock at E. The press comprises three links ABC, CDE and BG, pinned to each other at B and C, and to the ground at D and G. Sketch free-body diagrams of each component and hence determine the force exerted on the rock when a vertical force F = 400 N is applied at A. 210 80 80 C F 200 B 80 E 60% -O-D G All dimensions in mm. Figure 4arrow_forward2. Figure 2 shows a device for lifting bricks and concrete blocks. It comprises two compo- nents ABC and BD, with a frictionless pin at B. Determine the minimum coefficient of friction required at A and D if the device is to work satisfactorily. W all dimensions in inches Figure 2 Darrow_forward1. The shaft AD in Figure 1 supports two pulleys at B and C of radius 200 mm and 250 mm respectively. The shaft is supported in frictionless bearings at A and D and is rotating clockwise (when viewed from the right) at a constant speed of 300 rpm. Only bearing A can support thrust. The tensions T₁ = 200 N, T₂ = 400 N, and T3 = 300 N. The distances AB = 120 mm, BC = 150 mm, and CD120 mm. Find the tension 74 and the reaction forces at the bearings. A T fo Figure 1arrow_forward
- 5. Figure 5 shows a two-dimensional idealization of the front suspension system for a car. During cornering, the road exerts a vertical force of 5 kN and a leftward horizontal force of 1.2 kN on the tire, which is of 510 mm diameter. Draw free-body diagrams of each component and determine the forces transmitted between them. 250 A -320 B 170 D 170 -220-220- all dimensions in mm. Figure 5arrow_forward8. The force F in Figure 8 is 120 lb and the angle 0 = 25°. Find the axial force N, the shear force V and the bending moment M at the point K which is midway between B and C and illustrate their directions on a sketch of the segment KCD. E -0 B K అ D H 7 A- all dimensions in inches Figure 8 Ꮎ G Farrow_forward6. Determine the coordinates x, y of the centroid of the area shaded in Figure 6. y y=x³ Figure 6 3arrow_forward
- 3. Use the method of sections to determine the forces in the members BD, CD, CE in the struc- ture of Figure 3. A B D 4 kN 6 kN all dimensions in meters. Figure 3arrow_forwardA pipeline engineer is considering alternative natural gas pipeline routings. The first route is mostly over land and the second is primarily undersea. Both pipelines will need some valve and fitting replacements in year 25. Cost data for each route is shown in Table P2.21. Notice that the undersea route has a higher initial cost due to higher installation costs and extra corrosion protection for the pipeline. However, the undersea route has cheaper security and maintenance costs which substantially reduces annual costs. The MARR for the project is 15%. Determine which route should be pursued based on a present worth analysis.arrow_forwardThe state of stress at a point is σ = -4.00 kpsi, σy Tyz = 8.000 kpsi, and T₂ = -14.00 kpsi. What is the maximum shear stress for this case? The maximum shear stress is kpsi. = 16.00 kpsi, σ = -14.00 kpsi, Try = 11.00 kpsi,arrow_forward
- The initial cost of a proposed heat recovery system is $375,000. The annual operation andmaintenance costs are projected to be $12,000. The salvage value of the system at the end of itsuseful life (projected to be 30 years) is $60,000. The annual savings in fuel costs resulting fromthis system are estimated to be $55,000 per year.a. Assuming annual compounding, determine the rate of return for this heat recovery system.b. If management has set the MARR to be 15% for a heat recovery system like this, what is themaximum initial cost that can be spent on the system (assuming that all other costs and incomesare the same)?arrow_forwardThe initial cost of a machine for a production facility is $225,000. The machine is expected tolast for 10 years with no salvage value. The company’s tax rate is 49% and SLD is used todepreciate the machine. For this type of depreciation, the tax life of the machine is considered 8years and its salvage value is $5,000. The after-tax rate of return is 14.3%. Determine the uniformannual before-tax cash flow.arrow_forwardThree alternatives are being considered for an air cleaning system. All three systems have a lifeof 10 years with no salvage value. System A has an initial cost of $29,000. During the first fiveyears of operation, the annual costs to operate system A are $5,000. During the second five years,the annual cost of system A increases to $16,000. System B has an initial cost of $43,000. Theannual cost to operate system B is $4,000, however, after the first year, this cost increases by$1,600 per year. System C has an initial cost of $58,000 with an annual cost of $2,400. System Crequires two upgrades: one during year 4 which costs $6,000, and the other during year 8 whichcosts $3,000. The MARR for this project is 17%. Determine which air cleaning system should beinstalled based on an economic analysis.arrow_forward
- Elements Of ElectromagneticsMechanical EngineeringISBN:9780190698614Author:Sadiku, Matthew N. O.Publisher:Oxford University PressMechanics of Materials (10th Edition)Mechanical EngineeringISBN:9780134319650Author:Russell C. HibbelerPublisher:PEARSONThermodynamics: An Engineering ApproachMechanical EngineeringISBN:9781259822674Author:Yunus A. Cengel Dr., Michael A. BolesPublisher:McGraw-Hill Education
- Control Systems EngineeringMechanical EngineeringISBN:9781118170519Author:Norman S. NisePublisher:WILEYMechanics of Materials (MindTap Course List)Mechanical EngineeringISBN:9781337093347Author:Barry J. Goodno, James M. GerePublisher:Cengage LearningEngineering Mechanics: StaticsMechanical EngineeringISBN:9781118807330Author:James L. Meriam, L. G. Kraige, J. N. BoltonPublisher:WILEY
![Text book image](https://www.bartleby.com/isbn_cover_images/9780190698614/9780190698614_smallCoverImage.gif)
![Text book image](https://www.bartleby.com/isbn_cover_images/9780134319650/9780134319650_smallCoverImage.gif)
![Text book image](https://www.bartleby.com/isbn_cover_images/9781259822674/9781259822674_smallCoverImage.gif)
![Text book image](https://www.bartleby.com/isbn_cover_images/9781118170519/9781118170519_smallCoverImage.gif)
![Text book image](https://www.bartleby.com/isbn_cover_images/9781337093347/9781337093347_smallCoverImage.gif)
![Text book image](https://www.bartleby.com/isbn_cover_images/9781118807330/9781118807330_smallCoverImage.gif)