Skip to content

Commit de0f078

Browse files
Add descriptions to interactives (#909)
* LE2 description * GT3 description * GT1 interactive descriptions * add LE1 doenet descriptions * Upgrade pretext to newer version that handles descriptions for interactives --------- Co-authored-by: Steven Clontz <steven.clontz@gmail.com>
1 parent 7ade6d0 commit de0f078

5 files changed

Lines changed: 31 additions & 1 deletion

File tree

requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
pretext == 2.24.0
1+
pretext == 2.36.0
22
CodeChat-Server == 0.2.25
33
pelican == 4.11.0
44
markdown == 3.7.0

source/linear-algebra/source/01-LE/01.ptx

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -240,6 +240,9 @@ Following are some examples of addition and scalar multiplication in <m>\mathbb
240240
<slate surface="doenetml">
241241
<xi:include parse="text" href="doenet/LE1-add-vectors.xml"/>
242242
</slate>
243+
<description>
244+
<p>An interactive that shows that the sum of any two vectors in the plane results in a vector which is obtained by placing the two vectors end-to-end.</p>
245+
</description>
243246
</interactive>
244247
</figure>
245248
<figure xml:id="figure-le1-scalar-mult">
@@ -248,6 +251,9 @@ Following are some examples of addition and scalar multiplication in <m>\mathbb
248251
<slate surface="doenetml">
249252
<xi:include parse="text" href="doenet/LE1-scalar-mult.xml"/>
250253
</slate>
254+
<description>
255+
<p>An interactive that shows that the scalar multiple of any vector in the plane is the result of lengthening the vector by that factor, and reversing its direction in the case of a negative multiple.</p>
256+
</description>
251257
</interactive>
252258
</figure>
253259
<definition>

source/linear-algebra/source/01-LE/02.ptx

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -337,6 +337,9 @@ Replace a row with zeros, for example:
337337
<slate surface="doenetml">
338338
<xi:include parse="text" href="doenet/LE2-add-rows.xml"/>
339339
</slate>
340+
<description>
341+
<p>Interactive applet illustrating geometrically the result of adding multiples of one equation (plane) to another.</p>
342+
</description>
340343
</interactive>
341344
<p>
342345
How does adding row multiples to other rows affect a linear system's

source/linear-algebra/source/05-GT/01.ptx

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,10 @@ defined by the standard basic vectors <m>\vec e_1,\vec e_2</m>.
4949
<slate surface="doenetml">
5050
<xi:include parse="text" href="doenet/GT1-doenet-transformation.xml"/>
5151
</slate>
52+
<description>
53+
<p>Interactive applet allowing users to drag two vectors and geometrically observe the result of applying
54+
the linear transformation defined mapping the standard basis vectors to those two vectors.</p>
55+
</description>
5256
</interactive>
5357
</figure>
5458
</observation>
@@ -337,6 +341,9 @@ area of resulting parallelogram, what is the value of <m>\det([\vec{e}_1\hspace{
337341
<slate surface="doenetml">
338342
<xi:include parse="text" href="doenet/GT1-doenet-duplicate-column.xml"/>
339343
</slate>
344+
<description>
345+
<p>Interactive displaying the geometric effect of a linear transformation with two identical columns.</p>
346+
</description>
340347
</interactive>
341348
<p>Which of the following is true?</p>
342349
<ol marker="A." cols="2">
@@ -355,6 +362,9 @@ area of resulting parallelogram, what is the value of <m>\det([\vec{e}_1\hspace{
355362
<slate surface="doenetml">
356363
<xi:include parse="text" href="doenet/GT1-doenet-scale-column.xml"/>
357364
</slate>
365+
<description>
366+
<p>Interactive displaying the geometric effect of scaling a column.</p>
367+
</description>
358368
</interactive>
359369
<p>
360370
Which of the following is true?
@@ -380,6 +390,9 @@ parallelogram.
380390
<slate surface="doenetml">
381391
<xi:include parse="text" href="doenet/GT1-doenet-add-column.xml"/>
382392
</slate>
393+
<description>
394+
<p>Interactive applet illustrating the geometric effect of adding a column to another column.</p>
395+
</description>
383396
</interactive>
384397
<p>
385398
Which of the following is true?
@@ -453,6 +466,9 @@ Consider <m>\det([\vec v \hspace{1em}\vec w+c \vec{v}])</m> and
453466
<slate surface="doenetml">
454467
<xi:include parse="text" href="doenet/GT1-doenet-add-column-multiples.xml"/>
455468
</slate>
469+
<description>
470+
<p>Interactive applet illustrating the geometric effect of adding a multiple of a column to another column.</p>
471+
</description>
456472
</interactive>
457473
<p>
458474
The base of both parallelograms is <m>\vec{v}</m>, while the height has not changed,

source/linear-algebra/source/05-GT/03.ptx

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -184,6 +184,11 @@ and we call this <m>\lambda</m> an <term>eigenvalue</term><idx>eigenvalue</idx>
184184
<slate surface="doenetml">
185185
<xi:include parse="text" href="doenet/GT3-doenet-eigenvector.xml"/>
186186
</slate>
187+
<description>
188+
<p>Interactive applet allowing readers to drag two vectors around until they form a set of linearly
189+
independent eigenvectors.
190+
</p>
191+
</description>
187192
</interactive>
188193
<p>
189194
What are the eigenvalues for this matrix?

0 commit comments

Comments
 (0)