Create trapezoidalrule.scala