Wolfram Function Repository
Instant-use add-on functions for the Wolfram Language
Function Repository Resource:
Calculate the rate of transfer of CO gas from air in the lungs to the blood
ResourceFunction["PulmonaryDiffusingCapacity"][gender,age,height] gives the pulmonary diffusing capacity of carbon monoxide for a specific gender,age and height. | |
ResourceFunction["PulmonaryDiffusingCapacity"][gender, age, height, out] returns the output specified by out. |
"DiffusingCapacity" (DLCO) | diffusing capacity for carbon monoxide |
"Plot" | generate a plot for comparison |
"PropertyAssociation" | include all output in an Association |
Get the value of the pulmonary diffusing capacity of carbon monoxide for a specific male:
In[1]:= |
Out[1]= |
If values without Quantity are used, the age is interpreted as "Years" and the height as "Centimeters":
In[2]:= |
Out[2]= |
In[3]:= |
Out[3]= |
Other time and length units are accepted as well:
In[4]:= |
Out[4]= |
Create a plot using the "Plot" output. The x-axis is age (given in years) and the y-axis is "DiffusingCapacity" (DLCO) (in milliliters of CO per minute per millimeter of Hg) for a given gender and height:
In[5]:= |
Out[5]= |
Specify "PropertyAssociation" as the output:
In[6]:= |
Out[6]= |
The default output is "DiffusingCapacity":
In[7]:= |
Out[7]= |
In[8]:= |
Out[8]= |
The x-axis of the plot is given in years, regardless of the inputs:
In[9]:= |
Out[9]= |
This work is licensed under a Creative Commons Attribution 4.0 International License