IIRC, Mathematica is packaged with the Raspberry Pi OS. So, for the price of a Raspberry Pi and a micro SD card, you can get your hands on a copy, provided you can live with the lack of performance inherent in the Raspberry Pi.
You know, I had just been thinking one could do that in Mathematica. I have several electrical engineer friends who swear by it for a wide range of tasks. Not something I'd have in my pocket though.... if I recall, licenses are not cheap....