Math with electronic circuits: https://www.electro-tech-online.com/articles/analog-max-min-value-or-bi-level-clamp-circuits.808/
Operational amplifiers are wonderful any time you want to do stuff like multiply a signal by a factor, sum signals, check if signals are greater or lesser than each other, etc.