Skip to content
Merged
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
118 changes: 31 additions & 87 deletions project.ptx
Original file line number Diff line number Diff line change
Expand Up @@ -4,93 +4,37 @@
project. To edit the content of your document, open `source/main.ptx`
(default location).
-->
<project>
<project ptx-version="2">
<targets>
<target name="html">
<format>html</format>
<source>source/main.ptx</source>
<publication>publication/publication.ptx</publication>
<output-dir>output/html</output-dir>
</target>
<target name="html-hosted">
<format>html</format>
<source>source/main.ptx</source>
<publication>publication/publication.ptx</publication>
<output-dir>/home/activec2/public_html/prelude</output-dir>
</target>
<target name="latex">
<format>latex</format>
<source>source/main.ptx</source>
<publication>publication/publication.ptx</publication>
<output-dir>output/latex</output-dir>
<xsl>xsl/apc-latex.xsl</xsl>
</target>
<target name="pdf" pdf-method="xelatex">
<format>pdf</format>
<source>source/main.ptx</source>
<publication>publication/publication.ptx</publication>
<output-dir>output/pdf</output-dir>
<xsl>xsl/apc-latex.xsl</xsl>
</target>
<target name="solutions" pdf-method="xelatex">
<format>pdf</format>
<source>source/apc-solution-manual.ptx</source>
<publication>publication/publication-solutions.ptx</publication>
<output-dir>output/solutions-pdf</output-dir>
<xsl>xsl/apc-solution-manual.xsl</xsl>
</target>
<target name="solutions-latex">
<format>latex</format>
<source>source/apc-solution-manual.ptx</source>
<publication>publication/publication-solutions.ptx</publication>
<output-dir>output/solutions-latex</output-dir>
<xsl>xsl/apc-solution-manual.xsl</xsl>
</target>
<target name="workbook" pdf-method="xelatex">
<format>pdf</format>
<source>source/apc-activity-workbook.ptx</source>
<publication>publication/publication-workbook.ptx</publication>
<output-dir>output/workbook-pdf</output-dir>
<xsl>xsl/apc-activity-workbook.xsl</xsl>
</target>
<target name="workbook-latex">
<format>latex</format>
<source>source/apc-activity-workbook.xml</source>
<publication>publication/publication-workbook.ptx</publication>
<output-dir>output/workbook-latex</output-dir>
<xsl>xsl/apc-activity-workbook.xsl</xsl>
</target>
<target name="subset">
<format>html</format>
<source>source/main.ptx</source>
<publication>publication/publication.ptx</publication>
<output-dir>output/subset</output-dir>
<stringparam key="debug.skip-knowls" value="yes"/>
<!-- edit this to change the section/chapter/etc. to include
in your subset build. Use the xml:id, not the file name! -->
<xmlid-root>C-8</xmlid-root>
<xsl>xsl/acs-html.xsl</xsl>
</target>
<target name="epub">
<format>epub</format>
<source>source/main.ptx</source>
<publication>publication/publication.ptx</publication>
<output-dir>output/epub</output-dir>
</target>

<target name="html" format="html" publication="publication.ptx" />
<target name="latex" format="latex" publication="publication.ptx"
xsl="apc-latex.xsl"/>
<target name="pdf"
latex-engine="xelatex"
format="pdf"
publication="publication.ptx"
xsl="apc-latex.xsl" />
<target name="solutions"
latex-engine="xelatex"
format="pdf"
source="apc-solution-manual.ptx"
publication="publication-solutions.ptx"
xsl="apc-solution-manual.xsl" />
<target name="solutions-latex"
format="latex"
source="apc-solution-manual.ptx"
publication="publication-solutions.ptx"
xsl="apc-solution-manual.xsl" />
<target name="workbook"
latex-engine="xelatex"
format="pdf"
source="apc-activity-workbook.ptx"
publication="publication-workbook.ptx"
xsl="apc-activity-workbook.xsl" />
<target name="workbook-latex"
format="latex"
source="apc-activity-workbook.ptx"
publication="publication-workbook.ptx"
xsl="apc-activity-workbook.xsl" />
</targets>
<executables>
<latex>latex</latex>
<pdflatex>pdflatex</pdflatex>
<xelatex>xelatex</xelatex>
<pdfsvg>pdf2svg</pdfsvg>
<asy>asy</asy>
<sage>sage</sage>
<pdfpng>convert</pdfpng>
<pdfeps>pdftops</pdfeps>
<pdfcrop>pdf-crop-margins</pdfcrop>
<pageres>pageres</pageres>
<node>node</node>
<liblouis>file2brl</liblouis>
</executables>
</project>
21 changes: 21 additions & 0 deletions publication/publication-workbook.ptx
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
<publication>
<source webwork-problems="../generated-assets/webwork/webwork-representations.xml">
<directories external="../assets" generated="../generated-assets"
/>
</source>
<latex sides="two" print="yes">
<page><geometry>letterpaper,tmargin=.5in,bmargin=.3in,hmargin=.75in,includeheadfoot</geometry></page>
</latex>
<common>
<!-- List Chapters and Sections in sidebar Table of Contents -->
<tableofcontents level="2" />
<exercise-divisional statement="yes" hint="no" answer="no" solution="no"/>
<exercise-project statement="yes" hint="no" answer="no" solution="no" />
<exercise-reading statement="no" hint="no" answer="no" solution="no"/>
<exercise-worksheet statement="yes" hint="no" answer="no" solution="no" />
</common>
<webwork server="https://webwork-ptx.aimath.org" />
<numbering>
<divisions level="2"/>
</numbering>
</publication>
4 changes: 2 additions & 2 deletions publication/publication.ptx
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@
/>
</source>
<html>
<search google-cx="015103900096539427448:ngwuia10qci" />
<css colors="blue_grey" />
<!-- <search google-cx="015103900096539427448:ngwuia10qci" /> -->
<css theme="default-modern" palette="blues" />
<!-- Examples and exercises are knowlized by default -->
<!-- We disable this behavior -->
<knowl example="no" exercise-divisional="no" exercise-inline="no" />
Expand Down
55 changes: 23 additions & 32 deletions source/activities/act-0-0-0.xml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<?xml version="1.0" encoding="UTF-8" ?>
<?xml version="1.0" encoding="UTF-8"?>
<!-- **********************************************************************-->
<!-- Copyright 2018 -->
<!-- Matthew Boelkins -->
Expand All @@ -12,34 +12,25 @@
<!-- "share and share alike". All trademarks are the registered marks of -->
<!-- their respective owners. -->
<!-- **********************************************************************-->

<activity xmlns:xi="http://www.w3.org/2001/XInclude" xml:id="act-0-0-0">

<statement>
<p>

</p>

<p>
<ol marker="a.">
<li>
<p>

</p>
</li>
</ol>
</p>
</statement>
<answer>
<p>

</p>
</answer>
<solution>
<p>

</p>
</solution>

</activity>

<worksheet label="ws-act-0-0-0">
<activity xml:id="act-0-0-0">
<introduction>
<p/>
<p/>
</introduction>
<task workspace="3cm" xml:id="act-0-0-0-task-0">
<statement>
<p/>
</statement>
<hint/>
<answer/>
<solution/>
</task>
<answer>
<p/>
</answer>
<solution>
<p/>
</solution>
</activity>
</worksheet>
106 changes: 51 additions & 55 deletions source/activities/act-changing-aroc-graphs.xml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<?xml version="1.0" encoding="UTF-8" ?>
<?xml version="1.0" encoding="UTF-8"?>
<!-- **********************************************************************-->
<!-- Copyright 2019 -->
<!-- Matthew Boelkins -->
Expand All @@ -12,62 +12,58 @@
<!-- "share and share alike". All trademarks are the registered marks of -->
<!-- their respective owners. -->
<!-- **********************************************************************-->

<activity xmlns:xi="http://www.w3.org/2001/XInclude" xml:id="act-changing-aroc-graphs">

<statement>
<p>
<worksheet label="ws-act-changing-aroc-graphs">
<activity xml:id="act-changing-aroc-graphs">
<introduction>
<p>
Sketch at least two different possible graphs that satisfy the criteria for the function stated in each part. Make your graphs as significantly different as you can. If it is impossible for a graph to satisfy the criteria, explain why.
</p>

<p>
<ol marker="a.">
<li>
<p>
<m>f</m> is a function defined on <m>[-1,7]</m> such that <m>f(1) = 4</m> and <m>AV_{[1,3]} = -2</m>.
<p/>
</introduction>
<task workspace="2.5cm" xml:id="act-changing-aroc-graphs-task-0">
<statement>
<p><m>f</m> is a function defined on <m>[-1,7]</m> such that <m>f(1) = 4</m> and <m>AV_{[1,3]} = -2</m>.
</p>

<sidebyside width="40%">
<image source="images/functions-y-x-blank-axes"/>
<image source="images/functions-y-x-blank-axes"/>
</sidebyside>

</li>
<li>
<p>
<m>g</m> is a function defined on <m>[-1,7]</m> such that <m>g(4) = 3</m>, <m>AV_{[0,4]} = 0.5</m>, and <m>g</m> is not always increasing on <m>(0,4)</m>.
<sidebyside width="40%">
<image source="images/functions-y-x-blank-axes"/>
<image source="images/functions-y-x-blank-axes"/>
</sidebyside>
</statement>
<hint/>
<answer/>
<solution/>
</task>
<task workspace="2.5cm" xml:id="act-changing-aroc-graphs-task-1">
<statement>
<p><m>g</m> is a function defined on <m>[-1,7]</m> such that <m>g(4) = 3</m>, <m>AV_{[0,4]} = 0.5</m>, and <m>g</m> is not always increasing on <m>(0,4)</m>.
</p>

<sidebyside width="40%">
<image source="images/functions-y-x-blank-axes"/>
<image source="images/functions-y-x-blank-axes"/>
</sidebyside>

</li>
<li>
<p>
<m>h</m> is a function defined on <m>[-1,7]</m> such that <m>h(2) = 5</m>, <m>h(4) = 3</m> and <m>AV_{[2,4]} = -2</m>.
<sidebyside width="40%">
<image source="images/functions-y-x-blank-axes"/>
<image source="images/functions-y-x-blank-axes"/>
</sidebyside>
</statement>
<hint/>
<answer/>
<solution/>
</task>
<task workspace="3cm" xml:id="act-changing-aroc-graphs-task-2">
<statement>
<p><m>h</m> is a function defined on <m>[-1,7]</m> such that <m>h(2) = 5</m>, <m>h(4) = 3</m> and <m>AV_{[2,4]} = -2</m>.
</p>

<sidebyside width="40%">
<image source="images/functions-y-x-blank-axes"/>
<image source="images/functions-y-x-blank-axes"/>
</sidebyside>

</li>
</ol>
</p>
</statement>
<answer>
<p>

</p>
</answer>
<solution>
<p>

</p>
</solution>

</activity>

<sidebyside width="40%">
<image source="images/functions-y-x-blank-axes"/>
<image source="images/functions-y-x-blank-axes"/>
</sidebyside>
</statement>
<hint/>
<answer/>
<solution/>
</task>
<answer>
<p/>
</answer>
<solution>
<p/>
</solution>
</activity>
</worksheet>
Loading
Loading