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
680 stars 175 forks source link

Coefficient of n/n, intersection_of_two_lines #348

Closed lukew3 closed 2 years ago

lukew3 commented 3 years ago

Name or Id of generator: algebra/intersection_of_two_lines, 41 Issue: Coefficient is expressed as a fraction when it can be simplified to 1 and removed from the equation. Question: Find the point of intersection of the two lines: y = 6/6x + 7 and y = 7/5x + 7 Answer: (0, 7)

parthb83 commented 2 years ago

Hey @lukew3! I would like to work on this issue. Please guide me through what I have to do.

parthb83 commented 2 years ago

Hey @lukew3, I was also thinking that when numerator in coefficient of x is 0, we could remove the x-term altogether. So if for example, given that, y = 0/6x + 5, it can be written as y = 5. Please provide your suggestion on this.

lukew3 commented 2 years ago

Hey @lukew3, I was also thinking that when numerator in coefficient of x is 0, we could remove the x-term altogether. So if for example, given that, y = 0/6x + 5, it can be written as y = 5. Please provide your suggestion on this.

I agree

parthb83 commented 2 years ago

Hey please review the PR: #373.