roles) || in_array('administrator', $user->roles) || in_array('admin',$user->roles ) ) { ?>
probname); ?>
Topic Classification: nid, "Topic Classification"); ?> Tags: nid, "Problem Tag");?>
Topics: nid, "Topics"); ?> Prerequisites: nid, "Prerequisites"); ?>
Supplies: nid, "Supplies"); ?> Pedagogy: nid, "Pedagogy"); ?>

1-2
3-4
5-6

7-8

9-10

11-12

13-14

Solution: nid, "Solution"); ?>
Problem

A player chooses one of the numbers 1 through 4. After the choice has been made, two regular four-sided (tetrahedral) dice are rolled, with the sides of the dice numbered 1 through 4. If the number chosen appears on the bottom of exactly one die after it is rolled, then the player wins $\$ $1. If the number chosen appears on the bottom of both of the dice, then the player wins$\2. If the number chosen does not appear on the bottom of either of the dice, the player loses $\$ $1. What is the expected return to the player, in dollars, for one roll of the dice? Details Source Title: AMC 10 Problem Collection 2007 Authors nid); while ($data = db_fetch_object($authorresult)) {$authorfirstname = $data->firstname;$authorlastname = $data->lastname;$authors = $authorfirstname . ' ' .$authorlastname; print $authors; ?> References nid); if (mysql_num_rows($refresult) > 0 ) { ?> nmcreferenceid; $referenceauthor =$data->author; $referencetitle =$data->title; $referenceurl =$data->url; ?> 0 ) { print '
 Reference Author Reference Title Reference URL
'; } ?>
nid); $totalSets = mysql_num_rows($setsResult); if ($totalSets > 0) { ?> Problem Sets This Problem Belongs to: parent_nid; ?> Set: VARIABLES nid, 1); while ($data = db_fetch_object($variablesresult)) {$variable = $data->elementdata; ?> • DEFINITIONS nid); while ($data = db_fetch_object($defresult)) {$definitionid = $data->nmcdefinitionid;$definition = $data->definition;$definitionname = \$data->definitionname; ?> •