For Newton there is a very nice wrapper in the contributions.

But I think is not super easy, meaning it might not be the right thing for your course. But you should take a look. At least I was able to hook it into my current project, so it can't be really difficult.