Skip to content

Commit e8652d7

Browse files
committed
Improve appearance (minor)
1 parent a46c899 commit e8652d7

File tree

1 file changed

+6
-3
lines changed
  • OpenProblemLibrary/WHFreeman/Holt_linear_algebra/Chaps_1-4

1 file changed

+6
-3
lines changed

OpenProblemLibrary/WHFreeman/Holt_linear_algebra/Chaps_1-4/3.5.36.pg

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,8 @@ DOCUMENT();
2424
loadMacros(
2525
"PGstandard.pl",
2626
"MathObjects.pl",
27-
"parserPopUp.pl",
27+
# "parserPopUp.pl",
28+
"parserRadioButtons.pl",
2829
"parserMultiAnswer.pl",
2930
"PGmatrixmacros.pl",
3031
"PGcourse.pl"
@@ -44,7 +45,8 @@ $showPartialCorrectAnswers = 1;
4445
Context("Matrix");
4546
Context()->variables->are(a=>"Real",b=>"Real");
4647

47-
$tf = PopUp(['???','True','False'],'True');
48+
#$tf = PopUp(['???','True','False'],'True');
49+
$tf = RadioButtons(['True','False'],'True', separator => $SPACE x 4 );
4850

4951
$A = Matrix([[Formula("a"),Formula("1-b")],[Formula("1-a"),Formula("b")]]);
5052

@@ -76,7 +78,8 @@ Every 2x2 stochastic matrix \(A\) has the form
7678
\[A = $A\] $BR
7779
where \(0\leq a\leq 1\) and \(0\leq b \leq 1\).
7880
$PAR
79-
1) \{$tf->menu()\} True or False: Every 2×2 stochastic matrix has at least one steady-state vector.$PAR
81+
1) True or False? Every 2×2 stochastic matrix has at least one steady-state vector.$BR
82+
$SPACE$SPACE$SPACE$SPACE \{$tf->buttons\}$PAR
8083

8184
2) Assume \(A\neq \begin{bmatrix}1 & 0 \\ 0 & 1\end{bmatrix} \). If \(A\) has a steady-state vector enter it here. If it has no steady-state matrix enter the zero vector.
8285
$BR

0 commit comments

Comments
 (0)