Next week we start probability, and I'm working on a Sage worksheet<http://www.sagenb.org/home/pub/1445>for my students. So far I'm just working on ways to use Sage to represent the typical textbook probability examples - dice, cards, etc. Since a lot of my students are Jewish, I though the dreidel example might be good.
I have a few questions: 1. In creating a frequency bar chart for the sums of two dice I found that I had to pad my frequency array with [0, 0] to get the bars to match the right category. Is there a better way to do this? 2. In representing a deck of cards I'm using symbolic variables for the suits, aces, and face cards. Unicode is supported in Python 3, so there it's possible to access the actual symbols for the suits. It's kind of fun to be able to do that. Is that possible currently in Sage? 3. Does anyone have any other ideas for good ways to illustrate probability using Sage? This would be for an audience of high school students who are very weak in their math but have passed Alg 2 and are motivated for college. Thanks, Michel -- You received this message because you are subscribed to the Google Groups "sage-edu" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/sage-edu?hl=en.
