What Happened to the ZX81 Generation?

All you needed to get up and running with the Sinclair ZX81 was a small portable TV. The brief manual told you everything you needed to know and possibly everything there was to know. There was no disc drive but you could save programs and data to a cassette, and also buy programs (mostly games) on cassette. You could also buy a “RAM pack” to boost the memory to 16K, and a strange little printer. Photo: Wikimedia

Continue reading

Plotting Mathematical Functions in Python Part 1

There is a wealth of information out there on plotting mathematical functions in Python, typically using NumPy to create a set of y values for a range of x values and plotting them with Matplotlib. In this article I will write a simple but powerful function to abstract away much of the repetitive code necessary to do this. In future articles I will show the code in use for a selection of functions.

Continue reading