Skip to content

Commit 9abbf76

Browse files
authored
Merge pull request #1334 from dlglin/FixPercentInRadioButtons
Fix two issues in Statistics problem
2 parents 092447b + c495fb3 commit 9abbf76

File tree

1 file changed

+10
-3
lines changed

1 file changed

+10
-3
lines changed

OpenProblemLibrary/CollegeOfIdaho/setStatistics_Ch01PicturingDistributionsWithGraphs/01Stats_08_PictDistnsWGraphs/01Stats_08_PictDistnsWGraphs.pg

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,14 @@ $rb2 = RadioButtons(
6868
[ 'symmetric', 'skewed right', 'skewed left', 'none of the above' ], 1);
6969

7070
$rb3 = RadioButtons(
71-
[ 'above 30%', 'between 20% and 30%', 'about 10%', 'less than 3%' ], 2);
71+
[
72+
"above 30$PERCENT",
73+
"between 20$PERCENT and 30$PERCENT",
74+
"about 10$PERCENT",
75+
"less than 3$PERCENT"
76+
],
77+
2
78+
);
7279

7380
$showPartialCorrectAnswers = 0;
7481

@@ -86,7 +93,7 @@ b) The histogram is
8693

8794
[_]{$rb2}
8895

89-
c) The percentage of students with over $20 in their possession is
96+
c) The percentage of students with over $30 in their possession is
9097

9198
[_]{$rb3}
9299
END_PGML
@@ -101,4 +108,4 @@ b) Because there is a large peak on the left and a long tail to the right, this
101108
c) For this, total all of the heights of the bars. The total heights of those over $30 is [$over30] and since there are [$total] students, this is about 10%.
102109
END_PGML_SOLUTION
103110

104-
ENDDOCUMENT(); # This should be the last executable line in the problem.
111+
ENDDOCUMENT(); # This should be the last executable line in the problem.

0 commit comments

Comments
 (0)