finished math\triangle.js

finished math\triangle.js