Create a macro (cither by recording or by programming) ihat will compule the volume of an ideal gas when given tdhe absolute temperatire, thc absolute pres- sure. the munıber of molkes, and an idleal gas constant. Use vour macio to complete Table 133P What are thhe us of volume n cahiow

Introduction to Chemical Engineering Thermodynamics
8th Edition
ISBN:9781259696527
Author:J.M. Smith Termodinamica en ingenieria quimica, Hendrick C Van Ness, Michael Abbott, Mark Swihart
Publisher:J.M. Smith Termodinamica en ingenieria quimica, Hendrick C Van Ness, Michael Abbott, Mark Swihart
Chapter1: Introduction
Section: Chapter Questions
Problem 1.1P
icon
Related questions
Question

Please do it by excel

 

**13.3 Computing Ideal Gas Volume**

Create a user-written function that will compute the volume of an ideal gas when the absolute temperature, the absolute pressure, the number of moles, and an ideal gas constant are passed into the function as arguments. Use your function to complete Table 13.3P.

**Table 13.3P Ideal Gas Volume**

| Temperature | Pressure | Moles | Gas Constant          | Volume |
|-------------|----------|-------|-----------------------|--------|
| 273 K       | 1 atm    | 1 gmol| 0.08206 L·atm/(gmol·K)|        |
| 500 K       | 1 atm    | 1 gmol| 0.08206 L·atm/(gmol·K)|        |
| 273 K       | 10 atm   | 1 gmol| 0.08206 L·atm/(gmol·K)|        |
| 273 K       | 1 atm    | 10 gmol| 0.08206 L·atm/(gmol·K)|       |
| 500 K       | 1 atm    | 10 gmol| 0.08206 L·atm/(gmol·K)|       |
| 500 °R      | 1 atm    | 1 lbmol| 0.7302 ft³·atm/(lbmol·°R)|    |

*Note:* Complete the table by calculating the volume for each row using the ideal gas law \( PV = nRT \), where:
- \( P \) is absolute pressure
- \( V \) is the volume
- \( n \) is the number of moles
- \( R \) is the gas constant
- \( T \) is absolute temperature

Ensure to convert units appropriately where necessary (e.g., for °R and lbmol).
Transcribed Image Text:**13.3 Computing Ideal Gas Volume** Create a user-written function that will compute the volume of an ideal gas when the absolute temperature, the absolute pressure, the number of moles, and an ideal gas constant are passed into the function as arguments. Use your function to complete Table 13.3P. **Table 13.3P Ideal Gas Volume** | Temperature | Pressure | Moles | Gas Constant | Volume | |-------------|----------|-------|-----------------------|--------| | 273 K | 1 atm | 1 gmol| 0.08206 L·atm/(gmol·K)| | | 500 K | 1 atm | 1 gmol| 0.08206 L·atm/(gmol·K)| | | 273 K | 10 atm | 1 gmol| 0.08206 L·atm/(gmol·K)| | | 273 K | 1 atm | 10 gmol| 0.08206 L·atm/(gmol·K)| | | 500 K | 1 atm | 10 gmol| 0.08206 L·atm/(gmol·K)| | | 500 °R | 1 atm | 1 lbmol| 0.7302 ft³·atm/(lbmol·°R)| | *Note:* Complete the table by calculating the volume for each row using the ideal gas law \( PV = nRT \), where: - \( P \) is absolute pressure - \( V \) is the volume - \( n \) is the number of moles - \( R \) is the gas constant - \( T \) is absolute temperature Ensure to convert units appropriately where necessary (e.g., for °R and lbmol).
**Educational Content on Ideal Gas Computation**

### Table
The table provides data for calculating the volume of an ideal gas under different conditions:

| Temperature | Pressure | Moles | Gas Constant  |
|-------------|----------|-------|---------------|
| 273 K       | 1 atm    | 10 gmol | 0.08206 L atm / (gmol K) |
| 500 K       | 1 atm    | 10 gmol | 0.08206 L atm / (gmol K) |
| 500 °R      | 1 atm    | 1 lbmol | 0.7302 ft³ atm / (lbmol °R) |

### Instructions
Create a macro (either by recording or by programming) that will compute the volume of an ideal gas when given the absolute temperature, the absolute pressure, the number of moles, and an ideal gas constant. Use your macro to complete Table 13.3P.

**Note:** Determine the units of volume for each row of the table.

### Section 13.4: Computing Gas Heat Capacity
This section introduces standard equations for calculating the heat capacity (specific heat) of a gas at a specified temperature. One common form of a heat capacity equation is a simple third-order polynomial in \(T\). 

Equation Reference: \( (13.6) \)

--- 

This content is designed to guide students through the process of macro creation and understanding the practical application of the ideal gas law in calculating volume, as well as providing a basic understanding of gas heat capacity equations.
Transcribed Image Text:**Educational Content on Ideal Gas Computation** ### Table The table provides data for calculating the volume of an ideal gas under different conditions: | Temperature | Pressure | Moles | Gas Constant | |-------------|----------|-------|---------------| | 273 K | 1 atm | 10 gmol | 0.08206 L atm / (gmol K) | | 500 K | 1 atm | 10 gmol | 0.08206 L atm / (gmol K) | | 500 °R | 1 atm | 1 lbmol | 0.7302 ft³ atm / (lbmol °R) | ### Instructions Create a macro (either by recording or by programming) that will compute the volume of an ideal gas when given the absolute temperature, the absolute pressure, the number of moles, and an ideal gas constant. Use your macro to complete Table 13.3P. **Note:** Determine the units of volume for each row of the table. ### Section 13.4: Computing Gas Heat Capacity This section introduces standard equations for calculating the heat capacity (specific heat) of a gas at a specified temperature. One common form of a heat capacity equation is a simple third-order polynomial in \(T\). Equation Reference: \( (13.6) \) --- This content is designed to guide students through the process of macro creation and understanding the practical application of the ideal gas law in calculating volume, as well as providing a basic understanding of gas heat capacity equations.
Expert Solution
trending now

Trending now

This is a popular solution!

steps

Step by step

Solved in 2 steps with 2 images

Blurred answer
Recommended textbooks for you
Introduction to Chemical Engineering Thermodynami…
Introduction to Chemical Engineering Thermodynami…
Chemical Engineering
ISBN:
9781259696527
Author:
J.M. Smith Termodinamica en ingenieria quimica, Hendrick C Van Ness, Michael Abbott, Mark Swihart
Publisher:
McGraw-Hill Education
Elementary Principles of Chemical Processes, Bind…
Elementary Principles of Chemical Processes, Bind…
Chemical Engineering
ISBN:
9781118431221
Author:
Richard M. Felder, Ronald W. Rousseau, Lisa G. Bullard
Publisher:
WILEY
Elements of Chemical Reaction Engineering (5th Ed…
Elements of Chemical Reaction Engineering (5th Ed…
Chemical Engineering
ISBN:
9780133887518
Author:
H. Scott Fogler
Publisher:
Prentice Hall
Process Dynamics and Control, 4e
Process Dynamics and Control, 4e
Chemical Engineering
ISBN:
9781119285915
Author:
Seborg
Publisher:
WILEY
Industrial Plastics: Theory and Applications
Industrial Plastics: Theory and Applications
Chemical Engineering
ISBN:
9781285061238
Author:
Lokensgard, Erik
Publisher:
Delmar Cengage Learning
Unit Operations of Chemical Engineering
Unit Operations of Chemical Engineering
Chemical Engineering
ISBN:
9780072848236
Author:
Warren McCabe, Julian C. Smith, Peter Harriott
Publisher:
McGraw-Hill Companies, The