Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
pretext == 2.24.0
pretext[prefigure] == 2.36.0
CodeChat-Server == 0.2.25
pelican == 4.11.0
markdown == 3.7.0
Expand Down
269 changes: 130 additions & 139 deletions source/precalculus/source/meta/graphs.ptx

Large diffs are not rendered by default.

12 changes: 12 additions & 0 deletions source/precalculus/source/meta/prefigure/graph-absolute.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
<diagram dimensions="(300,300)" margins="5" xmlns="https://prefigure.org">
<definition>f(x)=fabs(x)</definition>
<coordinates bbox="(-5,-5,5,5)">
<grid-axes/>
<graph at="function" function="f"/>
</coordinates>
<annotations>
<annotation ref="figure" text="The graph of the function y equals the absolute value of x">
<annotation ref="function" text="The function y equals the absolute value of x" sonify="yes"/>
</annotation>
</annotations>
</diagram>
12 changes: 12 additions & 0 deletions source/precalculus/source/meta/prefigure/graph-arccos.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
<diagram dimensions="(300,300)" margins="5" xmlns="https://prefigure.org">
<definition>f(x)=acos(x)</definition>
<coordinates bbox="(-3,-pi,3,pi)">
<grid-axes v-pi-format="yes"/>
<graph at="function" function="f"/>
</coordinates>
<annotations>
<annotation ref="figure" text="The graph of the function y equals inverse cosine of x">
<annotation ref="function" text="The function y equals inverse cosine of x" sonify="yes"/>
</annotation>
</annotations>
</diagram>
19 changes: 19 additions & 0 deletions source/precalculus/source/meta/prefigure/graph-arccot.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
<diagram dimensions="(300,300)" margins="5" xmlns="https://prefigure.org">
<definition>f(x)=atan(1/x)</definition>
<coordinates bbox="(-3,-pi,3,pi)">
<grid-axes v-pi-format="yes"/>
<group at="function">
<graph function="f" domain="(-5,-0.01)"/>
<graph function="f" domain="(0.01,5)"/>
</group>
<line at="asymptote-h" endpoints="((-3,0),(3,0))" stroke="red" infinite = "yes" dash="9 9"/>
</coordinates>
<annotations>
<annotation ref="figure" text="The graph of the function y equals inverse cotangent of x">
<annotation ref="graph-function" text="The graph of y equals inverse cotangent of x and its asymptote">
<annotation ref="function" text="The function y equals inverse cotangent of x" sonify="yes"/>
<annotation ref="asymptote-h" text="The horizontal asymptote y equals 0"/>
</annotation>
</annotation>
</annotations>
</diagram>
16 changes: 16 additions & 0 deletions source/precalculus/source/meta/prefigure/graph-arccsc.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
<diagram dimensions="(300,300)" margins="5" xmlns="https://prefigure.org">
<definition>f(x)=asin(1/x)</definition>
<coordinates bbox="(-3,-pi,3,pi)">
<grid-axes v-pi-format="yes"/>
<graph at="function" function="f"/>
<line at="asymptote-h" endpoints="((-3,0),(3,0))" stroke="red" infinite = "yes" dash="9 9"/>
</coordinates>
<annotations>
<annotation ref="figure" text="The graph of the function y equals inverse cosecant of x">
<annotation ref="graph-function" text="The graph of y equals inverse cosecant of x and its asymptote">
<annotation ref="function" text="The function y equals inverse cosecant of x" sonify="yes"/>
<annotation ref="asymptote-h" text="The horizontal asymptote y equals 0"/>
</annotation>
</annotation>
</annotations>
</diagram>
16 changes: 16 additions & 0 deletions source/precalculus/source/meta/prefigure/graph-arcsec.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
<diagram dimensions="(300,300)" margins="5" xmlns="https://prefigure.org">
<definition>f(x)=acos(1/x)</definition>
<coordinates bbox="(-3,-pi,3,pi)">
<grid-axes v-pi-format="yes"/>
<graph at="function" function="f"/>
<line at="asymptote-h" endpoints="((-3,pi/2),(3,pi/2))" stroke="red" infinite = "yes" dash="9 9"/>
</coordinates>
<annotations>
<annotation ref="figure" text="The graph of the function y equals inverse secant of x">
<annotation ref="graph-function" text="The graph of y equals inverse secant of x and its asymptote">
<annotation ref="function" text="The function y equals inverse secant of x" sonify="yes"/>
<annotation ref="asymptote-h" text="The horizontal asymptote y equals pi over 2"/>
</annotation>
</annotation>
</annotations>
</diagram>
12 changes: 12 additions & 0 deletions source/precalculus/source/meta/prefigure/graph-arcsin.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
<diagram dimensions="(300,300)" margins="5" xmlns="https://prefigure.org">
<definition>f(x)=asin(x)</definition>
<coordinates bbox="(-3,-pi,3,pi)">
<grid-axes v-pi-format="yes"/>
<graph at="function" function="f"/>
</coordinates>
<annotations>
<annotation ref="figure" text="The graph of the function y equals inverse sine of x">
<annotation ref="function" text="The function y equals inverse sine of x" sonify="yes"/>
</annotation>
</annotations>
</diagram>
18 changes: 18 additions & 0 deletions source/precalculus/source/meta/prefigure/graph-arctan.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
<diagram dimensions="(300,300)" margins="5" xmlns="https://prefigure.org">
<definition>f(x)=atan(x)</definition>
<coordinates bbox="(-3,-pi,3,pi)">
<grid-axes v-pi-format="yes"/>
<graph at="function" function="f"/>
<line at="asymptote-h1" endpoints="((-3,-pi/2),(3,-pi/2))" stroke="red" infinite = "yes" dash="9 9"/>
<line at="asymptote-h2" endpoints="((-3,pi/2),(3,pi/2))" stroke="red" infinite = "yes" dash="9 9"/>
</coordinates>
<annotations>
<annotation ref="figure" text="The graph of the function y equals inverse tangent of x">
<annotation ref="graph-function" text="The graph of y equals inverse tangent of x and its asymptotes">
<annotation ref="function" text="The function y equals inverse cosecant of x" sonify="yes"/>
<annotation ref="asymptote-h1" text="The horizontal asymptote y equals negative pi over 2"/>
<annotation ref="asymptote-h2" text="The horizontal asymptote y equals pi over 2"/>
</annotation>
</annotation>
</annotations>
</diagram>
12 changes: 12 additions & 0 deletions source/precalculus/source/meta/prefigure/graph-cos.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
<diagram dimensions="(300,300)" margins="5" xmlns="https://prefigure.org">
<definition>f(x)=cos(x)</definition>
<coordinates bbox="(-2*pi,-5,2*pi,5)">
<grid-axes h-pi-format="yes"/>
<graph at="function" function="f"/>
</coordinates>
<annotations>
<annotation ref="figure" text="The graph of the function y equals cosine of x">
<annotation ref="function" text="The function y equals cosine of x" sonify="yes"/>
</annotation>
</annotations>
</diagram>
24 changes: 24 additions & 0 deletions source/precalculus/source/meta/prefigure/graph-cot.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
<diagram dimensions="(300,300)" margins="5" xmlns="https://prefigure.org">
<definition>f(x)=1/tan(x)</definition>
<coordinates bbox="(-2*pi,-5,2*pi,5)">
<grid-axes h-pi-format="yes"/>
<graph at="function" function="f"/>
<line at="asymptote-v1" endpoints="((-2*pi,-5),(-2*pi,5))" stroke="red" infinite = "yes" dash="9 9"/>
<line at="asymptote-v2" endpoints="((-pi,-5),(-pi,5))" stroke="red" infinite = "yes" dash="9 9"/>
<line at="asymptote-v3" endpoints="((0,-5),(0,5))" stroke="red" infinite = "yes" dash="9 9"/>
<line at="asymptote-v4" endpoints="((pi,-5),(pi,5))" stroke="red" infinite = "yes" dash="9 9"/>
<line at="asymptote-v5" endpoints="((2*pi,-5),(2*pi,5))" stroke="red" infinite = "yes" dash="9 9"/>
</coordinates>
<annotations>
<annotation ref="figure" text="The graph of the function y equals cotangent of x">
<annotation ref="graph-function" text="The graph of y equals cotangent of x and its asymptotes">
<annotation ref="function" text="The function y equals cotangent of x" sonify="yes"/>
<annotation ref="asymptote-v1" text="The vertical asymptote x equals negative 2 pi"/>
<annotation ref="asymptote-v2" text="The vertical asymptote x equals negative pi"/>
<annotation ref="asymptote-v3" text="The vertical asymptote x equals zero"/>
<annotation ref="asymptote-v4" text="The vertical asymptote x equals pi"/>
<annotation ref="asymptote-v5" text="The vertical asymptote x equals 2 pi"/>
</annotation>
</annotation>
</annotations>
</diagram>
24 changes: 24 additions & 0 deletions source/precalculus/source/meta/prefigure/graph-csc.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
<diagram dimensions="(300,300)" margins="5" xmlns="https://prefigure.org">
<definition>f(x)=1/sin(x)</definition>
<coordinates bbox="(-2*pi,-5,2*pi,5)">
<grid-axes h-pi-format="yes"/>
<graph at="function" function="f"/>
<line at="asymptote-v1" endpoints="((-2*pi,-5),(-2*pi,5))" stroke="red" infinite = "yes" dash="9 9"/>
<line at="asymptote-v2" endpoints="((-pi,-5),(-pi,5))" stroke="red" infinite = "yes" dash="9 9"/>
<line at="asymptote-v3" endpoints="((0,-5),(0,5))" stroke="red" infinite = "yes" dash="9 9"/>
<line at="asymptote-v4" endpoints="((pi,-5),(pi,5))" stroke="red" infinite = "yes" dash="9 9"/>
<line at="asymptote-v5" endpoints="((2*pi,-5),(2*pi,5))" stroke="red" infinite = "yes" dash="9 9"/>
</coordinates>
<annotations>
<annotation ref="figure" text="The graph of the function y equals cosecant of x">
<annotation ref="graph-function" text="The graph of y equals cosecant of x and its asymptotes">
<annotation ref="function" text="The function y equals cosecant of x" sonify="yes"/>
<annotation ref="asymptote-v1" text="The vertical asymptote x equals negative 2 pi"/>
<annotation ref="asymptote-v2" text="The vertical asymptote x equals negative pi"/>
<annotation ref="asymptote-v3" text="The vertical asymptote x equals zero"/>
<annotation ref="asymptote-v4" text="The vertical asymptote x equals pi"/>
<annotation ref="asymptote-v5" text="The vertical asymptote x equals 2 pi"/>
</annotation>
</annotation>
</annotations>
</diagram>
16 changes: 16 additions & 0 deletions source/precalculus/source/meta/prefigure/graph-exponential.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
<diagram dimensions="(300,300)" margins="5" xmlns="https://prefigure.org">
<definition>f(x)=2^x</definition>
<coordinates bbox="(-5,-5,5,5)">
<grid-axes/>
<graph at="function" function="f"/>
<line at="asymptote-h" endpoints="((-5,0),(5,0))" stroke="red" infinite = "yes" dash="9 9"/>
</coordinates>
<annotations>
<annotation ref="figure" text="The graph of the function y equals 2 to the x">
<annotation ref="graph-function" text="The graph of y equals 2 to the x and its asymptote">
<annotation ref="function" text="The function y equals 2 to the x" sonify="yes"/>
<annotation ref="asymptote-h" text="The horizontal asymptote y equals 0"/>
</annotation>
</annotation>
</annotations>
</diagram>
16 changes: 16 additions & 0 deletions source/precalculus/source/meta/prefigure/graph-exponentiale.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
<diagram dimensions="(300,300)" margins="5" xmlns="https://prefigure.org">
<definition>f(x)=e^x</definition>
<coordinates bbox="(-5,-5,5,5)">
<grid-axes/>
<graph at="function" function="f"/>
<line at="asymptote-h" endpoints="((-5,0),(5,0))" stroke="red" infinite = "yes" dash="9 9"/>
</coordinates>
<annotations>
<annotation ref="figure" text="The graph of the function y equals e to the x">
<annotation ref="graph-function" text="The graph of y equals e to the x and its asymptote">
<annotation ref="function" text="The function y equals e to the x" sonify="yes"/>
<annotation ref="asymptote-h" text="The horizontal asymptote y equals 0"/>
</annotation>
</annotation>
</annotations>
</diagram>
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
<diagram dimensions="(300,300)" margins="5" xmlns="https://prefigure.org">
<definition>f(x)=log(x)</definition>
<coordinates bbox="(-5,-5,5,5)">
<grid-axes/>
<graph at="function" function="f"/>
<line at="asymptote-v" endpoints="((0,-5),(0,5))" stroke="red" infinite = "yes" dash="9 9"/>
</coordinates>
<annotations>
<annotation ref="figure" text="The graph of the function y equals the natural logarithm of x">
<annotation ref="graph-function" text="The graph of y equals the natural logarithm of x and its asymptote">
<annotation ref="function" text="The function y equals the natural logarithm of x" sonify="yes"/>
<annotation ref="asymptote-v" text="The vertical asymptote x equals 0"/>
</annotation>
</annotation>
</annotations>
</diagram>
16 changes: 16 additions & 0 deletions source/precalculus/source/meta/prefigure/graph-logarithm.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
<diagram dimensions="(300,300)" margins="5" xmlns="https://prefigure.org">
<definition>f(x)=log(x)/log(2)</definition>
<coordinates bbox="(-5,-5,5,5)">
<grid-axes/>
<graph at="function" function="f"/>
<line at="asymptote-v" endpoints="((0,-5),(0,5))" stroke="red" infinite = "yes" dash="9 9"/>
</coordinates>
<annotations>
<annotation ref="figure" text="The graph of the function y equals log base two of x">
<annotation ref="graph-function" text="The graph of y equals log base two of x and its asymptote">
<annotation ref="function" text="The function y equals log base two of x" sonify="yes"/>
<annotation ref="asymptote-v" text="The vertical asymptote x equals 0"/>
</annotation>
</annotation>
</annotations>
</diagram>
22 changes: 22 additions & 0 deletions source/precalculus/source/meta/prefigure/graph-sec.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
<diagram dimensions="(300,300)" margins="5" xmlns="https://prefigure.org">
<definition>f(x)=1/cos(x)</definition>
<coordinates bbox="(-2*pi,-5,2*pi,5)">
<grid-axes h-pi-format="yes"/>
<graph at="function" function="f"/>
<line at="asymptote-v1" endpoints="((-3*pi/2,-5),(-3*pi/2,5))" stroke="red" infinite = "yes" dash="9 9"/>
<line at="asymptote-v2" endpoints="((-pi/2,-5),(-pi/2,5))" stroke="red" infinite = "yes" dash="9 9"/>
<line at="asymptote-v3" endpoints="((pi/2,-5),(pi/2,5))" stroke="red" infinite = "yes" dash="9 9"/>
<line at="asymptote-v4" endpoints="((3*pi/2,-5),(3*pi/2,5))" stroke="red" infinite = "yes" dash="9 9"/>
</coordinates>
<annotations>
<annotation ref="figure" text="The graph of the function y equals secant of x">
<annotation ref="graph-function" text="The graph of y equals secant of x and its asymptotes">
<annotation ref="function" text="The function y equals secant of x" sonify="yes"/>
<annotation ref="asymptote-v1" text="The vertical asymptote x equals negative 3 pi over 2"/>
<annotation ref="asymptote-v2" text="The vertical asymptote x equals negative pi over 2"/>
<annotation ref="asymptote-v3" text="The vertical asymptote x equals pi over 2"/>
<annotation ref="asymptote-v4" text="The vertical asymptote x equals 3 pi over 2"/>
</annotation>
</annotation>
</annotations>
</diagram>
12 changes: 12 additions & 0 deletions source/precalculus/source/meta/prefigure/graph-sin.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
<diagram dimensions="(300,300)" margins="5" xmlns="https://prefigure.org">
<definition>f(x)=sin(x)</definition>
<coordinates bbox="(-2*pi,-5,2*pi,5)">
<grid-axes h-pi-format="yes"/>
<graph at="function" function="f"/>
</coordinates>
<annotations>
<annotation ref="figure" text="The graph of the function y equals sine of x">
<annotation ref="function" text="The function y equals sine of x" sonify="yes"/>
</annotation>
</annotations>
</diagram>
12 changes: 12 additions & 0 deletions source/precalculus/source/meta/prefigure/graph-square-root.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
<diagram dimensions="(300,300)" margins="5" xmlns="https://prefigure.org">
<definition>f(x)=sqrt(x)</definition>
<coordinates bbox="(-5,-5,5,5)">
<grid-axes/>
<graph at="function" function="f"/>
</coordinates>
<annotations>
<annotation ref="figure" text="The graph of the function y equals the square root of x">
<annotation ref="function" text="The function y equals the square root of x" sonify="yes"/>
</annotation>
</annotations>
</diagram>
22 changes: 22 additions & 0 deletions source/precalculus/source/meta/prefigure/graph-tan.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
<diagram dimensions="(300,300)" margins="5" xmlns="https://prefigure.org">
<definition>f(x)=tan(x)</definition>
<coordinates bbox="(-2*pi,-5,2*pi,5)">
<grid-axes h-pi-format="yes"/>
<graph at="function" function="f"/>
<line at="asymptote-v1" endpoints="((-3*pi/2,-5),(-3*pi/2,5))" stroke="red" infinite = "yes" dash="9 9"/>
<line at="asymptote-v2" endpoints="((-pi/2,-5),(-pi/2,5))" stroke="red" infinite = "yes" dash="9 9"/>
<line at="asymptote-v3" endpoints="((pi/2,-5),(pi/2,5))" stroke="red" infinite = "yes" dash="9 9"/>
<line at="asymptote-v4" endpoints="((3*pi/2,-5),(3*pi/2,5))" stroke="red" infinite = "yes" dash="9 9"/>
</coordinates>
<annotations>
<annotation ref="figure" text="The graph of the function y equals tangent of x">
<annotation ref="graph-function" text="The graph of y equals tangent of x and its asymptotes">
<annotation ref="function" text="The function y equals tangent of x" sonify="yes"/>
<annotation ref="asymptote-v1" text="The vertical asymptote x equals negative 3 pi over 2"/>
<annotation ref="asymptote-v2" text="The vertical asymptote x equals negative pi over 2"/>
<annotation ref="asymptote-v3" text="The vertical asymptote x equals pi over 2"/>
<annotation ref="asymptote-v4" text="The vertical asymptote x equals 3 pi over 2"/>
</annotation>
</annotation>
</annotations>
</diagram>
18 changes: 18 additions & 0 deletions source/precalculus/source/meta/prefigure/graphx-minus1.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
<diagram dimensions="(300,300)" margins="5" xmlns="https://prefigure.org">
<definition>f(x)=x^(-1)</definition>
<coordinates bbox="(-5,-5,5,5)">
<grid-axes/>
<graph at="function" function="f"/>
<line at="asymptote-h" endpoints="((-5,0),(5,0))" stroke="red" infinite = "yes" dash="9 9"/>
<line at="asymptote-v" endpoints="((0,-5),(0,5))" stroke="red" infinite = "yes" dash="9 9"/>
</coordinates>
<annotations>
<annotation ref="figure" text="The graph of the function y equals 1 over x">
<annotation ref="graph-function" text="The graph of y equals 1 over x and its asymptotes">
<annotation ref="function" text="The function y equals 1 over x" sonify="yes"/>
<annotation ref="asymptote-h" text="The horizontal asymptote y equals 0"/>
<annotation ref="asymptote-v" text="The vertical asymptote x equals 0"/>
</annotation>
</annotation>
</annotations>
</diagram>
18 changes: 18 additions & 0 deletions source/precalculus/source/meta/prefigure/graphx-minus2.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
<diagram dimensions="(300,300)" margins="5" xmlns="https://prefigure.org">
<definition>f(x)=x^(-2)</definition>
<coordinates bbox="(-5,-5,5,5)">
<grid-axes/>
<graph at="function" function="f"/>
<line at="asymptote-h" endpoints="((-5,0),(5,0))" stroke="red" infinite = "yes" dash="9 9"/>
<line at="asymptote-v" endpoints="((0,-5),(0,5))" stroke="red" infinite = "yes" dash="9 9"/>
</coordinates>
<annotations>
<annotation ref="figure" text="The graph of the function y equals 1 over x squared">
<annotation ref="graph-function" text="The graph of y equals 1 over x squared and its asymptotes">
<annotation ref="function" text="The function y equals 1 over x squared" sonify="yes"/>
<annotation ref="asymptote-h" text="The horizontal asymptote y equals 0"/>
<annotation ref="asymptote-v" text="The vertical asymptote x equals 0"/>
</annotation>
</annotation>
</annotations>
</diagram>
18 changes: 18 additions & 0 deletions source/precalculus/source/meta/prefigure/graphx-minus3.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
<diagram dimensions="(300,300)" margins="5" xmlns="https://prefigure.org">
<definition>f(x)=x^(-3)</definition>
<coordinates bbox="(-5,-5,5,5)">
<grid-axes/>
<graph at="function" function="f"/>
<line at="asymptote-h" endpoints="((-5,0),(5,0))" stroke="red" infinite = "yes" dash="9 9"/>
<line at="asymptote-v" endpoints="((0,-5),(0,5))" stroke="red" infinite = "yes" dash="9 9"/>
</coordinates>
<annotations>
<annotation ref="figure" text="The graph of the function y equals 1 over x cubed">
<annotation ref="graph-function" text="The graph of y equals 1 over x cubed and its asymptotes">
<annotation ref="function" text="The function y equals 1 over x cubed" sonify="yes"/>
<annotation ref="asymptote-h" text="The horizontal asymptote y equals 0"/>
<annotation ref="asymptote-v" text="The vertical asymptote x equals 0"/>
</annotation>
</annotation>
</annotations>
</diagram>
Loading
Loading