Contact
CoCalc Logo Icon
StoreFeaturesDocsShareSupport News AboutSign UpSign In
| Download
Views: 285
Image: ubuntu2004
Kernel: Python 3 (system-wide)

CheckIt Dashboard

Run the code cells below to preview exercises as you author them, or build exercise bank files that can be used with various LMSs and the https://checkit.clontz.org viewer.

Preview exercise

  1. Edit bank-slug in bank = Bank("bank-slug") to point to the directory containing the bank for the outcome you with to preview. (For example, tbil-la.)

  2. Edit outcome-slug in outcome = bank.outcome_from_slug("outcome-slug") to point to the generator/template filenames for outcome you wish to preview. (For example, E3.)

  3. Hit [Ctrl]+[Enter] to preview one generated exercise. Hit it again to preview a new exercise.

from checkit import Bank bank = Bank("clontz-diff-eq") outcome = bank.outcome_from_slug("CC1") outcome.print_preview()
Generating 1 private exercises for CC1... Done!

Explain how to find the general solution to the given ODE, and the particular solution that satisfies the given initial value.

6y=3y,y(log(2))=34-6 \, {y} = 3 \, {y'},\hspace{1em} y\big(\log\left(2\right)\big)=-\frac{3}{4}

Answer:

y=ke(2t){y} = k e^{\left(-2 \, t\right)}

y=3e(2t){y} = -3 \, e^{\left(-2 \, t\right)}

Data XML ----------- <data seed="3335"> <ode>-6 \, {y} = 3 \, {y'}</ode> <ode_sol>{y} = k e^{\left(-2 \, t\right)}</ode_sol> <ivp_sol>{y} = -3 \, e^{\left(-2 \, t\right)}</ivp_sol> <y0>-\frac{3}{4}</y0> <t0>\log\left(2\right)</t0> </data> HTML source ----------- <div class="checkit exercise" data-checkit-slug="CC1" data-checkit-title="Constant-Coefficient Linear Homogeneous First-Order IVPs" data-checkit-seed="3335"> <div class="exercise-statement"> <p> Explain how to find the general solution to the given ODE, and the particular solution that satisfies the given initial value. </p> <p class="math math-display">\[-6 \, {y} = 3 \, {y'},\hspace{1em} y\big(\log\left(2\right)\big)=-\frac{3}{4}\]</p> </div> <div class="exercise-answer"> <p> <b>Answer:</b> </p> <p class="math math-display">\[{y} = k e^{\left(-2 \, t\right)}\]</p> <p class="math math-display">\[{y} = -3 \, e^{\left(-2 \, t\right)}\]</p> </div> </div> LaTeX source ------------ \begin{exercise}{CC1}{Constant-Coefficient Linear Homogeneous First-Order IVPs}{3335} \begin{exerciseStatement} Explain how to find the general solution to the given ODE, and the particular solution that satisfies the given initial value. \[-6 \, {y} = 3 \, {y'},\hspace{1em} y\big(\log\left(2\right)\big)=-\frac{3}{4}\]\end{exerciseStatement} \begin{exerciseAnswer}\[{y} = k e^{\left(-2 \, t\right)}\]\[{y} = -3 \, e^{\left(-2 \, t\right)}\]\end{exerciseAnswer} \end{exercise} QTI source ------------ <item ident="CC1-3335" title="CC1 | Constant-Coefficient Linear Homogeneous First-Order IVPs | ver. 3335"> <itemmetadata> <qtimetadata> <qtimetadatafield> <fieldlabel>question_type</fieldlabel> <fieldentry>file_upload_question</fieldentry> </qtimetadatafield> </qtimetadata> </itemmetadata> <presentation> <material> <mattextxml> <div class="exercise-statement"> <p> <strong>CC1.</strong> </p> <p> Explain how to find the general solution to the given ODE, and the particular solution that satisfies the given initial value. </p> <p style="text-align:center;"> <img style="border:1px #ddd solid;padding:5px;border-radius:5px;" src="https://usaonline.southalabama.edu/equation_images/-6 \, {y} = 3 \, {y'},\hspace{1em} y\big(\log\left(2\right)\big)=-\frac{3}{4}" alt="-6 \, {y} = 3 \, {y'},\hspace{1em} y\big(\log\left(2\right)\big)=-\frac{3}{4}" title="-6 \, {y} = 3 \, {y'},\hspace{1em} y\big(\log\left(2\right)\big)=-\frac{3}{4}" data-latex="-6 \, {y} = 3 \, {y'},\hspace{1em} y\big(\log\left(2\right)\big)=-\frac{3}{4}"/> </p> </div> </mattextxml> <mattext texttype="text/html">&lt;div class="exercise-statement"&gt; &lt;p&gt; &lt;strong&gt;CC1.&lt;/strong&gt; &lt;/p&gt; &lt;p&gt; Explain how to find the general solution to the given ODE, and the particular solution that satisfies the given initial value. &lt;/p&gt; &lt;p style="text-align:center;"&gt; &lt;img style="border:1px #ddd solid;padding:5px;border-radius:5px;" src="https://usaonline.southalabama.edu/equation_images/-6%20%5C,%20%7By%7D%20=%203%20%5C,%20%7By'%7D,%5Chspace%7B1em%7D%20y%5Cbig(%5Clog%5Cleft(2%5Cright)%5Cbig)=-%5Cfrac%7B3%7D%7B4%7D" alt="-6 \, {y} = 3 \, {y'},\hspace{1em} y\big(\log\left(2\right)\big)=-\frac{3}{4}" title="-6 \, {y} = 3 \, {y'},\hspace{1em} y\big(\log\left(2\right)\big)=-\frac{3}{4}" data-latex="-6 \, {y} = 3 \, {y'},\hspace{1em} y\big(\log\left(2\right)\big)=-\frac{3}{4}"&gt; &lt;/p&gt; &lt;/div&gt; </mattext> </material> <response_str ident="response1" rcardinality="Single"> <render_fib> <response_label ident="answer1" rshuffle="No"/> </render_fib> </response_str> </presentation> <itemfeedback ident="general_fb"> <flow_mat> <material> <mattextxml> <div class="exercise-answer"> <h4>Partial Answer:</h4> <p style="text-align:center;"> <img style="border:1px #ddd solid;padding:5px;border-radius:5px;" src="https://usaonline.southalabama.edu/equation_images/{y} = k e^{\left(-2 \, t\right)}" alt="{y} = k e^{\left(-2 \, t\right)}" title="{y} = k e^{\left(-2 \, t\right)}" data-latex="{y} = k e^{\left(-2 \, t\right)}"/> </p> <p style="text-align:center;"> <img style="border:1px #ddd solid;padding:5px;border-radius:5px;" src="https://usaonline.southalabama.edu/equation_images/{y} = -3 \, e^{\left(-2 \, t\right)}" alt="{y} = -3 \, e^{\left(-2 \, t\right)}" title="{y} = -3 \, e^{\left(-2 \, t\right)}" data-latex="{y} = -3 \, e^{\left(-2 \, t\right)}"/> </p> </div> </mattextxml> <mattext texttype="text/html">&lt;div class="exercise-answer"&gt; &lt;h4&gt;Partial Answer:&lt;/h4&gt; &lt;p style="text-align:center;"&gt; &lt;img style="border:1px #ddd solid;padding:5px;border-radius:5px;" src="https://usaonline.southalabama.edu/equation_images/%7By%7D%20=%20k%20e%5E%7B%5Cleft(-2%20%5C,%20t%5Cright)%7D" alt="{y} = k e^{\left(-2 \, t\right)}" title="{y} = k e^{\left(-2 \, t\right)}" data-latex="{y} = k e^{\left(-2 \, t\right)}"&gt; &lt;/p&gt; &lt;p style="text-align:center;"&gt; &lt;img style="border:1px #ddd solid;padding:5px;border-radius:5px;" src="https://usaonline.southalabama.edu/equation_images/%7By%7D%20=%20-3%20%5C,%20e%5E%7B%5Cleft(-2%20%5C,%20t%5Cright)%7D" alt="{y} = -3 \, e^{\left(-2 \, t\right)}" title="{y} = -3 \, e^{\left(-2 \, t\right)}" data-latex="{y} = -3 \, e^{\left(-2 \, t\right)}"&gt; &lt;/p&gt; &lt;/div&gt; </mattext> </material> </flow_mat> </itemfeedback> </item> PreTeXt source ------------ <exercise checkit-seed="3335" checkit-slug="CC1" checkit-title="Constant-Coefficient Linear Homogeneous First-Order IVPs"> <statement> <p> Explain how to find the general solution to the given ODE, and the particular solution that satisfies the given initial value. </p> <me>-6 \, {y} = 3 \, {y'},\hspace{1em} y\big(\log\left(2\right)\big)=-\frac{3}{4}</me> </statement> <answer> <me>{y} = k e^{\left(-2 \, t\right)}</me> <me>{y} = -3 \, e^{\left(-2 \, t\right)}</me> </answer> </exercise>

Build exercise bank

  1. Edit bank = Bank("bank-slug") to point to the directory containing the bank you wish to build.

  2. Set bank.build(public=True) to build a bank for public distribution (e.g. on https://checkit.clontz.org) or public=False to build a bank for personal use (e.g. on an LMS for your course).

  3. Hit [Ctrl]+[Enter] to build the bank.

from checkit import Bank bank = Bank("clontz-diff-eq") bank.build(public=True)
Generating public exercises for 19 outcomes... Generating 1000 public exercises for AA1... Done! Generating 1000 public exercises for AA2... Done! Generating 1000 public exercises for AA3... Done! Generating 1000 public exercises for AA4... Done! Generating 1000 public exercises for CC1... Done! Generating 1000 public exercises for CC2... Done! Generating 1000 public exercises for CC3... Done! Generating 1000 public exercises for CC4... Done! Generating 1000 public exercises for CC5... Done! Generating 1000 public exercises for CC6... Done! Generating 1000 public exercises for DL1... Done! Generating 1000 public exercises for DL2... Done! Generating 1000 public exercises for DL3... Done! Generating 1000 public exercises for DL4... Done! Generating 1000 public exercises for FO1... Done! Generating 1000 public exercises for FO2... Done! Generating 1000 public exercises for FO3... Done! Generating 1000 public exercises for FO4... Done! Generating 1000 public exercises for AA5...