My third year high school math class used Sage and it worked well. You only need one person to mess with the insides of Sage to run the server that everyone can use. However, my class was CS-focused for an Algebra 3 class edit: and using computers for any kind of math work can lead to distractions if the teacher is not strict enough about it.