Test of Jupyter Notebook generator


May 14, 2015


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

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


Here is code for the solution:

In [ ]:

In [ ]:
from numpy import exp

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

## Try values

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'