lukew3 / mathgenerator

A math problem generator, created for the purpose of giving self-studying students and teaching organizations the means to easily get access to high-quality, generated math problems to suit their needs.
https://lukew3.github.io/mathgenerator
MIT License
681 stars 176 forks source link

fix surface_area_pyramid #443

Closed shraf closed 4 months ago

shraf commented 4 months ago

the problem was that triangle_height is selected randomly, it should be calculated from height & length + the triangle_height_1 should be used to calculate the second triangle and vice-versa issue: #441