Update maths.rb with other example and annotate with some comments