Text this: Mathematical principles of mechanics and electromagnetism