Calculate integral by CAS

wolfram_triangle_1.png

wolfram_triangle_2.png

wolfram_triangle_3.png

Using default functions for sanity check

wolfram_triangle_4.png

wolfram_triangle_5.gif

wolfram_triangle_6.png

wolfram_triangle_7.png

wolfram_triangle_8.png

Created with the Wolfram Language