You are browsing as a guest. Sign up (or log in) to start making projects!

SAT Math Prep App

  • 3 Devlogs
  • 3 Total hours

App to study those annoying math questions :p

Open comments for this post

30m 42s logged

Devlog #3

Found and fixed the issue with this problem!! When b is the unknown, there are actually two possible x values (+ and -). The code was only listing ONE possible x value, and by extension, respectively, only one possible y value, as the solution. So when trying to input a solution, there was a 50/50 chance that I would put in a correct solution that was not recognized by the program.

To fix this, I’ve replaced the single number variable “solution” with a number array “solutions”, and now push each solution (even if just one) to the array; with that, I changed the checkAnswer() function from a one-time comparison to a for-of loop to iterate through all possible solutions and see if the user-provided answer is equivalent to any one.

If the randint() function has selected “b” to be the unknown:

  • If the question requires x as the solution, I make the solutions ±x
  • If the question requires y as the solution, I calculate two different y values with ±x

This question type is now working. Time to move on to a different one!!

0
0
3
Open comments for this post

1h 10m 19s logged

Devlog #2

Finished what I call “problem type C”: a system of equations with one unknown constant– solution will be either the x or y coordinate of the point of intersection.
It seems to be working for the most part but there are times where the solution will be completely incorrect. I’ll have to pinpoint which iterations of the question give me that bug (next devlog will fix the bug hopefully)

0
0
2
Open comments for this post

1h 47m 34s logged

Made the first kind of question! The app will generate completely randomly-generated (mathematically, not with AI) questions based off this question setup :p

0
0
31

Delete project?

Are you sure you want to permanently delete this project? This action cannot be undone.

All devlogs, followers, and associated data will be removed.

Followers

Loading…