ipynb


Test of Jupyter Notebook generator

${NAME}, ${ADDRESS}

May 14, 2015

Math

This is a test notebook where we solve the following math problem:

$$ y' = y,\quad y(0)=${IC} $$

Code

Here is code for the solution:


In [ ]:


In [ ]:
from numpy import exp

def y(t):
	return 2*exp(t)

## Try values
y(0)

In [ ]:
y(1), 2*exp(1)

In [ ]:
y(2), 2*exp(2)

## Compilation

This is how we run the notebook generator on files with extension .aipynb:

console cell, but typeset as pure code (-t extension)

Terminal> ipynb_generator.py myfile.aipynb MYVAR=4 GRADE='excellent'