Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

added requirements text file #2

Open
wants to merge 9 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
[![Binder](https://mybinder.org/badge_logo.svg)](https://mybinder.org/v2/gh/dschaffner/TIDES/master)

### Enhancing Computation and Information Science Learning Opportunities for Women Leaders in STEM

Through a generous $4.9M grant from the Leona M. and Harry B. Helmsley Charitable Trust, AAC&U has launched its newest STEM initiative, Teaching to Increase Diversity and Equity in STEM (TIDES). The overall goal of the initiative is to increase the learning outcomes and retention of students historically underrepresented in the computer/information sciences and related STEM disciplines.
Expand Down

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

27 changes: 18 additions & 9 deletions notebooks/Computational_Module-01A-PythonIntro.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -115,14 +115,16 @@
"* [VII. Recursion](Computational_Module-01C-PythonIntro.ipynb#VII.-Recursion) \n",
"\n",
" \n",
"* [VIII. References](Computational_Module-01C-PythonIntro.ipynb#VIII.-References) \n"
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"- - -"
"* [VIII. References](Computational_Module-01C-PythonIntro.ipynb#VIII.-References) \n",
"\n",
"#### Links to Exercises\n",
"* <a href='#Exercise1'>Exercise 1</a>\n",
"* <a href='#Exercise2'>Exercise 2</a>\n",
"* <a href='#Exercise3'>Exercise 3</a>\n",
"* <a href='#Exercise4'>Exercise 4</a>\n",
"* <a href='#Exercise5'>Exercise 5</a>\n",
"* <a href='#Exercise6'>Exercise 6</a>\n",
"* <a href='#Exercise7'>Exercise 7</a>"
]
},
{
Expand Down Expand Up @@ -777,6 +779,7 @@
"cell_type": "markdown",
"metadata": {},
"source": [
"<a id=\"Exercise1\"></a>\n",
"**Exercise \\#1**\n",
"\n",
"Write code to convert a person's age in years into seconds and display the result. Apply it to your own age. (Assume 365 days/year.) "
Expand Down Expand Up @@ -1236,6 +1239,7 @@
"cell_type": "markdown",
"metadata": {},
"source": [
"<a id=\"Exercise2\"></a>\n",
"**Exercise \\#2**\n",
"\n",
"Write code that defines `fine` as 0.00729735257 (the \"fine structure constant\"). Then, on three different lines print the text \"The value is: \", with each of those strings followed by one of the following outputs:\n",
Expand Down Expand Up @@ -1376,6 +1380,7 @@
"cell_type": "markdown",
"metadata": {},
"source": [
"<a id=\"Exercise3\"></a>\n",
"**Exercise \\#3**\n",
"\n",
"Write code that asks the user to input an integer, adds 10 to the number, and then tells the user what the final result is *as a floating-point number*. "
Expand Down Expand Up @@ -1721,6 +1726,7 @@
"cell_type": "markdown",
"metadata": {},
"source": [
"<a id=\"Exercise4\"></a>\n",
"**Exercise \\#4**\n",
"\n",
"Write code that will interchange the second and third elements of *any* list having at least three elements. Try it on the list `['One', 'b', 3, 'iv']`."
Expand Down Expand Up @@ -1924,6 +1930,7 @@
"cell_type": "markdown",
"metadata": {},
"source": [
"<a id=\"Exercise5\"></a>\n",
"**Exercise \\#5**\n",
"\n",
"**(a)** Write code that asks the user to input a small integer (call it *n*), and then prints that number *n* times. \n",
Expand Down Expand Up @@ -2250,6 +2257,7 @@
"cell_type": "markdown",
"metadata": {},
"source": [
"<a id=\"Exercise6\"></a>\n",
"**Exercise \\#6**\n",
"\n",
"Write code to pick out the letters whose positions in a word are divisible by 3, using slicing. (That is, you want to pick out the 3rd, 6th, 9th, etc. letters.) Your code should work for a word of *any* length. Apply it to the words 'picnic' and 'supercalifragilistic'. (Show the results for both words in your solution.) Remember that Python numbers lists and string elements starting with an index of `0`."
Expand All @@ -2266,6 +2274,7 @@
"cell_type": "markdown",
"metadata": {},
"source": [
"<a id=\"Exercise7\"></a>\n",
"**Exercise \\#7**\n",
"\n",
"Write code to pick out the letters in a word whose positions are divisible by 3, using a loop and *no slicing*. It should work for any word, but you should apply it to 'picnic' and 'supercalifragilistic' to test it."
Expand Down Expand Up @@ -2737,7 +2746,7 @@
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.6.1"
"version": "3.7.3"
}
},
"nbformat": 4,
Expand Down
16 changes: 14 additions & 2 deletions notebooks/Computational_Module-01B-PythonIntro.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,14 @@
"* [VII. Recursion](Computational_Module-01C-PythonIntro.ipynb#VII.-Recursion)\n",
"\n",
" \n",
"* [VIII. References](Computational_Module-01C-PythonIntro.ipynb#VIII.-References) "
"* [VIII. References](Computational_Module-01C-PythonIntro.ipynb#VIII.-References) \n",
"\n",
"#### Links to Exercises\n",
"* <a href='#Exercise8'>Exercise 8</a>\n",
"* <a href='#Exercise9'>Exercise 9</a>\n",
"* <a href='#Exercise10'>Exercise 10</a>\n",
"* <a href='#Exercise11'>Exercise 11</a>\n",
"* <a href='#Exercise12'>Exercise 12</a>"
]
},
{
Expand Down Expand Up @@ -852,6 +859,7 @@
"cell_type": "markdown",
"metadata": {},
"source": [
"<a id=\"Exercise8\"></a>\n",
"**Exercise \\#8**\n",
"\n",
"Write a function to output the value of the Gaussian function $f(x;m,\\sigma) = \\dfrac{1}{\\sqrt{2 \\pi} \\sigma} \\exp \\left[ -\\dfrac{1}{2} \\left(\\dfrac{x-m}{\\sigma}\\right)^2 \\right]$, where $m$, $\\sigma$, and $x$ are inputs to the function. (We're thinking of $x$ as a variable and $m$ and $\\sigma$ as parameters.) Evaluate the function for $m = 0$, $\\sigma = 2$, $x = 1$. \n",
Expand Down Expand Up @@ -1479,6 +1487,7 @@
"cell_type": "markdown",
"metadata": {},
"source": [
"<a id=\"Exercise9\"></a>\n",
"**Exercise \\#9**\n",
"\n",
"(a) Construct and print out a sequence of 12 values ranging from 1.1 to 1.9 (including both limits). \n",
Expand Down Expand Up @@ -1953,6 +1962,7 @@
"cell_type": "markdown",
"metadata": {},
"source": [
"<a id=\"Exercise10\"></a>\n",
"**Exercise \\#10**\n",
"\n",
"Compute the value of the vector-matrix product $\\mathbf{a} \\cdot \\mathbf{B} \\cdot \\mathbf{c}$, where $\\mathbf{a} = [1, 2, 3, 4]$, $\\mathbf{B}$ is the $4 \\times 4$ identity matrix, and $\\mathbf{c} = [1, 2, 3, 4]$ as a column vector. (The vectors should be defined as arrays, not lists, even though you might be able to make it work with lists.) Your answer should be a single number."
Expand Down Expand Up @@ -2804,6 +2814,7 @@
"cell_type": "markdown",
"metadata": {},
"source": [
"<a id=\"Exercise11\"></a>\n",
"**Exercise \\#11**\n",
"\n",
"Plot the functions $f_1(n) = n$ and $f_2(n) = n^2$ on the same plot, for integer $n$ in the range $0 \\rightarrow 10$. Display a legend in the upper-left corner, label the $x$-axis with n and the $y$-axis with f(n).\n"
Expand Down Expand Up @@ -2869,6 +2880,7 @@
"cell_type": "markdown",
"metadata": {},
"source": [
"<a id=\"Exercise12\"></a>\n",
"**Exercise \\#12**\n",
"\n",
"Plot two subplots side by side: one duplicating the figure above, and a second showing a blue curve just like the orange one but rotated $90^\\textrm{o}$ counterclockwise."
Expand Down Expand Up @@ -3116,7 +3128,7 @@
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.6.1"
"version": "3.7.3"
}
},
"nbformat": 4,
Expand Down
2 changes: 1 addition & 1 deletion notebooks/Computational_Module-02-ErrorsSpeed.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -796,7 +796,7 @@
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.6.1"
"version": "3.7.3"
}
},
"nbformat": 4,
Expand Down
6 changes: 3 additions & 3 deletions notebooks/Computational_Module-03-Iterative_Methods.ipynb

Large diffs are not rendered by default.

Loading