The python jupyter notebook is the new calculator!

Here is  the t-test example as a jupyter notebook - but you can also download the actual note book here, which you can open with the jupyter notebook software.

 

Why the hell would you do this? I think that mathematics has changed (for me at least) because of the tools we now use. It used to be pencil and paper, with much smart thought like using log tables, and others. The slide rule, came along and then the calculator. Today the tools are extensive, mathematica, matlab, R, and I am sure many others that I do not know about. After a lot of looking around, I am going to choose python, with scipy and numpy within the jupyter notebook as my example. Here are my reasons: 1. I think I would love mathematica - it looks lovely and does cool things in a way I would like, but I think to suggest something for everyone as a survey course it should be free - which also rules out matlab. R studio is also free and amazing for stats and what I initially used for the t-test - but it is really for interactive stats, and although it is a programming language - it isn't really. As a perl person I wanted to learn the new python thing, and think that everyone should be able to program a scripting language. If only so you realize the futility and danger of electronic voting. Python also comes with the science and math tools, as well as some symbolic tools, which I want to learn - so you can see the crazy cool equations. Python also scales as a scripting language, so you can work big as necessary.

How to install - the easy answer is anaconda, install it, and in anaconda navigator, you have an option to run the jupyter notebook in your browser. There you can type text in markup language, python code, and also see the results. - Have a look at the t-test notebook and see if you can get it to run.