The algebra of electronics