Algebra-based physics curriculum