diff --git a/book/cookbook/example_quiz_interactive.ipynb b/book/cookbook/example_quiz_interactive.ipynb index 53565fb2404c1b5af1cb7645714bc5a4f1fd2038..f4bb1404ff23d52efe58272b99ef91b1417f7bd2 100644 --- a/book/cookbook/example_quiz_interactive.ipynb +++ b/book/cookbook/example_quiz_interactive.ipynb @@ -103,9 +103,10 @@ "\n", "You have a time series of 8 measurements and fit a model assuming a linear trend (constant velocity).\n", "\n", - "Times of observations, observed values and number of observations are given.\n", + "Times of observations, observed values and number of observations are given as the variables `t`, `y` and `m`, as well as `numpy` and `matplotlib.pyplot` abbreviated as `np` and `plt`\n", "\n", - "Remark: It would be nice if the box in which this exercise is given extends to all cells below." + "Remark: It would be nice if the box in which this exercise is given extends to all cells below.\n", + ":::" ] }, { @@ -146,7 +147,7 @@ "execution_count": null, "metadata": { "tags": [ - "thebe-init" + "thebe-remove-input-init" ] }, "outputs": [], @@ -160,7 +161,7 @@ "execution_count": null, "metadata": { "tags": [ - "thebe-init" + "thebe-remove-input-init" ] }, "outputs": [], @@ -179,7 +180,9 @@ "cell_type": "markdown", "metadata": {}, "source": [ - "Fill in the correct $\\mathrm{A}$-matrix." + ":::{card}\n", + "Fill in the correct $\\mathrm{A}$-matrix.\n", + ":::" ] }, { @@ -209,7 +212,9 @@ "cell_type": "markdown", "metadata": {}, "source": [ - "Define the weight matrix for $\\mathrm{W}=I_m$" + ":::{card}\n", + "Define the weight matrix for $\\mathrm{W}=I_m$\n", + ":::" ] }, { @@ -252,7 +257,9 @@ "cell_type": "markdown", "metadata": {}, "source": [ - "Define the weight matrix with the weight of first 3 observations is five times as large as the rest" + ":::{card}\n", + "Define the weight matrix with the weight of first 3 observations is five times as large as the rest\n", + ":::" ] }, { @@ -303,7 +310,9 @@ "cell_type": "markdown", "metadata": {}, "source": [ - "Define the weight matrix with the weight of 4th and 5th observation is five times as large as the rest" + ":::{card}\n", + "Define the weight matrix with the weight of 4th and 5th observation is five times as large as the rest\n", + ":::" ] }, { @@ -317,13 +326,6 @@ "# Weight matrix for case 3\n", "W_3 = ?" ] - }, - { - "cell_type": "markdown", - "metadata": {}, - "source": [ - ":::" - ] } ], "metadata": {