{
"cells": [
{
"cell_type": "markdown",
"metadata": {},
"source": [
"ChEn-3170: Computational Methods in Chemical Engineering Spring 2021 UMass Lowell; Prof. V. F. de Almeida **26Jan21**\n",
"\n",
"# Laboratory Work 01 (27Jan21)"
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"### Name: `your name`"
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"### Rubric for each assignment: \n",
"\n",
"| Context | Points |\n",
"| ----------------------- | ------- |\n",
"| Precision of the answer | 80% |\n",
"| Answer Markdown readability | 10% |\n",
"| Code readability | 10% |\n",
" "
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"### Guidance:\n",
"\n",
"+ \n",
" Save your work frequently to a file locally to your computer.\n",
" \n",
"+ \n",
" During your work and before submitting the final version do: Kernel -> Restart & Run All, to verify your notebook runs correctly.\n",
" \n",
"+ \n",
" Save your file again.\n",
" \n",
"+ \n",
" Upload the notebook file in the Blackboard submission portal as: \n",
" \n",
" \n",
" **lastname-firstname-labwork-xx.ipynb**"
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"## Assignment 1.\n",
"### Describe with your own words what a Jupyter Notebook is and how would you learn more about it."
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"**Answer:**"
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"## Assignment 2.\n",
"### Describe the typical workflow of a Jupyter Notebook."
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"**Answer:**"
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"## Assignment 3.\n",
"### Copy a Python code block from [here](https://matplotlib.org/gallery/index.html), insert below as Markdown, and describe the steps you have taken to create the Markdown block."
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"**Answer:**"
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"## Assignment 4.\n",
"### Create a code cell with the code in Assignment 3 and produce a plot."
]
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"outputs": [],
"source": [
"'''code'''"
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"## Assignment 5.\n",
"### Create a Python code cell with a boolean variable and print its type."
]
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"outputs": [],
"source": [
"'''code'''"
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"## Assignment 6.\n",
"### Create a Python code cell with a string variable and print its type."
]
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"outputs": [],
"source": [
"'''code'''"
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"## Assignment 7.\n",
"### Create a Python code cell with a string variable 10-characters long or more and print its type and its length."
]
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {
"scrolled": true
},
"outputs": [],
"source": [
"'''code'''"
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"## Assignment 8.\n",
"### Create a Python code to compute the area of a right triangle with sides $a = 1.23$ and $b = 2.45$, and its hypotenuse. On a Markdown cell, explain your results mathematically."
]
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"outputs": [],
"source": [
"'''code'''"
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"**Answer:**"
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"## Assignment 9.\n",
"### Create a Python code to compute the volume of a right cylinder with radius $r = 2.45$ and height $h = 5.13$. On a Markdown cell, explain your results mathematically."
]
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"outputs": [],
"source": [
"'''code'''"
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"**Answer:**"
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"## Assignment 10.\n",
"### What is unclear in the content covered until this point in the course?"
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"**Answer:**"
]
}
],
"metadata": {
"kernelspec": {
"display_name": "Python 3",
"language": "python",
"name": "python3"
},
"language_info": {
"codemirror_mode": {
"name": "ipython",
"version": 3
},
"file_extension": ".py",
"mimetype": "text/x-python",
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.8.7"
},
"latex_envs": {
"LaTeX_envs_menu_present": true,
"autoclose": false,
"autocomplete": true,
"bibliofile": "biblio.bib",
"cite_by": "apalike",
"current_citInitial": 1,
"eqLabelWithNumbers": true,
"eqNumInitial": 1,
"hotkeys": {
"equation": "Ctrl-E",
"itemize": "Ctrl-I"
},
"labels_anchors": false,
"latex_user_defs": false,
"report_style_numbering": false,
"user_envs_cfg": false
}
},
"nbformat": 4,
"nbformat_minor": 2
}