Skip to content

Commit eb7646c

Browse files
committed
fix issues with exercises
1 parent 49b43c4 commit eb7646c

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

49 files changed

+248
-246
lines changed
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.

generated-assets/rs/webwork/webwork-representations.xml

Lines changed: 131 additions & 130 deletions
Large diffs are not rendered by default.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.

generated-assets/web/webwork/webwork-representations.xml

Lines changed: 111 additions & 110 deletions
Large diffs are not rendered by default.

source/sec_counting-advPIE.ptx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,7 @@
132132
How many ways can we distribute the cookies if Albie <em>does not</em> get more than 3 cookies?
133133
</p>
134134
<p>
135-
<var name="Compute(C(12,2)-C(8,2))" width="5" />
135+
<var name="Compute(C(12,2) - C(8,2))" width="5" />
136136
</p>
137137
</statement>
138138
</task>
@@ -162,7 +162,7 @@
162162
Using the Principle of Inclusion/Exclusion for two sets, how many ways can we distribute the cookies if <em>at least one</em> of Albie or Bertie gets more than 3 cookies? So either Albie gets more than 3 cookies, Bertie gets more than 3 cookies, or both get more than 3 cookies.
163163
</p>
164164
<p>
165-
<var name="Compute(C(8,2)+C(8,2)-C(4,2))" width="5" />
165+
<var name="Compute(C(8,2) + C(8,2) - C(4,2))" width="5" />
166166
</p>
167167
</statement>
168168
</task>
@@ -172,7 +172,7 @@
172172
How many ways can we distribute the cookies if <em>neither</em> Albie nor Bertie gets more than 3 cookies?
173173
</p>
174174
<p>
175-
<var name="Compute(C(12,2)-(C(8,2)+C(8,2)-C(4,2)))" width="5" />
175+
<var name="Compute(C(12,2) - (C(8,2) + C(8,2) - C(4,2)))" width="5" />
176176
</p>
177177
</statement>
178178
</task>

source/sec_counting-probability.ptx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,7 @@ for i in range(4):
137137
<exercise label="pa-counting-probability-2">
138138
<webwork>
139139
<pg-code>
140-
140+
Context("IntegerFunctions");
141141
</pg-code>
142142

143143
<introduction>
@@ -246,7 +246,7 @@ for i in range(4):
246246
Among the 30 people, either they all have different birthdays or at least two share a birthday. Since this is certain, its probability is 1. So what is the probability that at least two people (out of the 30) share a birthday?
247247
</p>
248248
<p>
249-
<var name="Compute(1-$prob)" width="10"/>
249+
<var name="Compute(1 - $prob)" width="10"/>
250250
</p>
251251
</statement>
252252
</task>

source/sec_seq-growth.ptx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -247,7 +247,7 @@
247247
Guess a closed formula for the number of dots in the <m>n</m>th figure.
248248
</p>
249249
<p component="interactive">
250-
<m>a_n = </m> <var name="Formula('2*n**4')" width="20" />.
250+
<m>a_n = </m> <var name="Formula('2*3**n')" width="20" />.
251251
</p>
252252
</statement>
253253
</task>

0 commit comments

Comments
 (0)