Mathematics for electronics