Use small group discussions augmented with some computer programming to enhance the mathematical concepts discussed in "The Number Devil," by Hans Magnus Enzensberger. Chapter 4 introduces rational and irrational numbers. Very little programming experience is necessary. Sample responses to all the questions, discussion topics, and programming challenges are included.
Keywords: rational number, irrational number, Python, Snap, programming, coding
Verify that the decimal 0.1 cannot be exactly defined in a computer.
Write a program to compute the nth roots of numbers. The square root and cube root programs are shared.