This article is about using large language models (LLMs) to write code, but gets there indirectly. First it talks about what makes things, such as programming and maths, hard and what doesn’t via a couple of historical things. Next, I will expand on complexity – how much is baked into some activity, and how much … Continue reading Whetstone of Witte, complexity and programming
Category: Maths
Dividing using subtraction
In this article I will go into a way of dividing that’s possibly unusual – repeated subtraction, with some doubling along the way. It’s related to other articles I’ve already done: Multiplying using doubling, halving and adding Multiplying using doubling, halving and adding 2 First, I’ll go into how we get division if we do … Continue reading Dividing using subtraction
Multiplying using halving, doubling and summing – part 2
This article is a follow-up to a previous article on multiplying by halving, doubling and adding. In this article I go through another way of approaching the same idea, that my wife showed me. This article, like the previous one, will switch between Roman numerals and Arabic numerals. I learned this on a counting cloth … Continue reading Multiplying using halving, doubling and summing – part 2
Modulo arithmetic in everyday life and code
Despite its scarily maths-sounding name, I suspect that you have already come across modulo arithmetic, even though it probably didn't have that name. In this article I'll go into a few examples of modulo arithmetic in the everyday world, and how the practical limitations faced by computers cause modulo arithmetic to crop up when you … Continue reading Modulo arithmetic in everyday life and code
Representing numbers
I’ve recently been doing more maths than usual using Roman numerals, which has got me thinking about the relationship between how numbers are represented and how easy it is for them to do different jobs for us. I’ll go into a few representations below, and their good and bad points. I won’t talk about floating … Continue reading Representing numbers
Multiplying using halving, doubling and summing
I was introduced to an interesting way of multiplying two numbers (integers greater than 0) recently, at a Tudor re-enactment at Kentwell Hall. It took me a while to realise what was going on behind the scenes, at least in terms of things I already understood. As it also made me think in a new … Continue reading Multiplying using halving, doubling and summing
Squaring complex numbers
As I mentioned in my post about quantum computing, complex numbers are a crucial part of quantum computing programs. I rushed over their details (and lots of other things) in that post, because I was trying to lay out the headlines of everything that you (and I) would need to know in order to understand … Continue reading Squaring complex numbers