Skip to content

Commit

Permalink
issue #11
Browse files Browse the repository at this point in the history
  • Loading branch information
famedeiros committed Oct 21, 2016
1 parent 9f5e549 commit c26eaa3
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -959,9 +959,9 @@
"metadata": {
"anaconda-cloud": {},
"kernelspec": {
"display_name": "Python [Root]",
"display_name": "Python [conda root]",
"language": "python",
"name": "Python [Root]"
"name": "conda-root-py"
},
"language_info": {
"codemirror_mode": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,8 @@
"cell_type": "markdown",
"metadata": {},
"source": [
"In order to use any function of this module, we have to write `alias_name.function_name`. As an example, we will see function `numpy.linspace` that will be used in the following cells.\n",
"\n",
"We will also use matplotlib, a python 2D plotting library which produces publication quality figures in a variety of hardcopy formats and interactive environments across platforms.\n",
"We will be particularly interested in the pyplot interface."
]
Expand All @@ -80,6 +82,13 @@
"import matplotlib as matplotlib"
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"From matplotlib, we will be most interested in the pyplot submodule. We will use its functions and, in order to do that, syntax will follow the same structure mentioned above: `alias_name.submodule_name.function_name`"
]
},
{
"cell_type": "markdown",
"metadata": {},
Expand Down Expand Up @@ -285,25 +294,24 @@
"# External references:\n",
"* matplotlib magic command http://ipython.readthedocs.io/en/stable/interactive/plotting.html\n",
"* matplotlib, pyplot [tutorial](http://matplotlib.org/users/pyplot_tutorial.html)\n",
"* Reid et al."
"* Reid, R. C.; Prausnitz, J. M.; Poling, B. E., The properties of gases and liquids, 4th Ed.; McGraw-Hill, 1987."
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"# Credits\n",
"* Initially developed in python 2.7 by Guilherme Carneiro Queiroz da Silva\n",
"* Adapted to ipynb with python 3.5 by Iuri Soter Viana Segtovich"
"* Initially developed in python 2.7 by Guilherme Carneiro Queiroz da Silva.\n",
"* Adapted to ipynb with python 3.5 by Iuri Soter Viana Segtovich."
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"# Conclusion\n",
"* Initially developed in python 2.7 by Guilherme Carneiro Queiroz da Silva\n",
"* Adapted to ipynb with python 3.5 by Iuri Soter Viana Segtovich"
"In this notebook, it was demonstrated how to calculate the equilibrium pressure for a pure component as a function of its molar volume and temperature using a cubic equation of state. Isotherms were plotted in a PxV graphic using matplotlib library. After finishing this reading, you should be able to make simple uses of equations of state and create figures using tools from matplotlib, like pyplot. This will be an extremely needed skill in the following steps of this course, provided that we will create several graphic relating different thermodynamic properties. "
]
}
],
Expand Down

0 comments on commit c26eaa3

Please sign in to comment.