Comments (11)
I'll take this up, please assign it to me.
Also it's possible that the generated lines are parallel and so have no intersection, what should be done in this case? Should we regenerate the problem or should the solution be something like "No Intersection"?
from mathgenerator.
i would like to contribute
from mathgenerator.
@akashsara I think that there should be the possibility of parallel lines included. "No Intersection" would be a good way to express the solution.
from mathgenerator.
Alright. Another question - does this require fractions as well? While I think it'll make things a bit more complicated, you've given a fraction in the example. If fractions are allowed for either m, b or both, what are the restrictions on the fractions?
On another note, is it maybe time to consider separating out the mathgen.py
file? As more and more generators are added, it'll get a bit messy. In addition, submitting PRs might be an issue since any PR that is merged would cause conflicts with other PRs since they're all modifying the same file.
from mathgenerator.
does this require fractions as well?
I think that m should contain fractions, not b though. Fractional slopes are often found in this type of problem. Plus, if slopes were only integers, the point of intersections would be very far from the origin. I'd say limit the denominator to 6 perhaps.
On another note, is it maybe time to consider separating out the mathgen.py file?
I was thinking about this too. Do you have any suggestions? Maybe it could be modularized by subject like algebra, geometry, early math, calculus, etc.
from mathgenerator.
I think that m should contain fractions, not b though. Fractional slopes are often found in this type of problem. Plus, if slopes were only integers, the point of intersections would be very far from the origin. I'd say limit the denominator to 6 perhaps.
Alrighty, then I'll keep a 50% chance of m being a fraction where the denominator is from 1-6 and the numerator is -10 to 10. I'll just let it choose a denominator from 1-6, if it's 1 it just becomes a whole number.
I was thinking about this too. Do you have any suggestions? Maybe it could be modularized by subject like algebra, geometry, early math, calculus, etc.
I was thinking more of having one file per generator and then group the generators (files) in some way. The subject-wise method you mentioned is one possible option. Since the user will obviously know what kind of problem they want, subject-wise organization also means the user will be able to do a sort of search where they choose their subject and then problem.
from mathgenerator.
@akashsara Okay. I'm open to either of those. I'll open this as an issue and see if anybody else has any input.
from mathgenerator.
Issue #99 opened
from mathgenerator.
I would like to contribute
from mathgenerator.
I would like to contribute, please assign it to me, i'm an advanced python coder
from mathgenerator.
@prajjval30 @helplessThor the issue has been resolved and the PR merged. Do take a look at the other open issues in the repo though.
from mathgenerator.
Related Issues (20)
- Fix long import times
- CalcuLaTeX Integration HOT 1
- [Gen Idea]: Sum of interior angles of n sided polygon HOT 1
- gcd duplicate generators
- algebra/expanding string integer out of range error HOT 1
- intersection_of_two_lines is likely duplicate of system_of_equations
- Use snake case instead of camelCase or PascalCase for variables and functions
- Use raw strings for latex generation
- intersection_of_two_lines use latex \frac
- mathgenerator as a npm package? HOT 8
- [Gen Idea]: Simplify square root HOT 4
- Create script to generate a gif showcasing generated problems/solutions
- KaTeX based rendering for docs
- Complex to Polar Function Problem/Solution is unclear
- Wrong answer if the coeficient of the variable is equal to the constant while generating algebra, HOT 1
- Phase out sympy and scipy HOT 2
- [Gen Idea]: Adding word problems HOT 1
- decimal_to_roman_numerals function issue HOT 5
- the implement of surface_area_pyramid is wrong HOT 2
- Create a solution explainer?
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from mathgenerator.