Code Monkey home page Code Monkey logo

num2math's Introduction

num2math

Generate a complicated math expression that results in a number. If you wanna do this for some reason.

Try it: https://enjeck.com/num2math/

num2math's People

Contributors

enjeck avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

num2math's Issues

Allow integers greater than 1000

The lazy way to do it would be to take what we have now and just divide by 1000 (or a random int between x and y), multiply by that number rounded, add a term equal to the modulus

"Double exponent: use braces to clarify" error

This error has been reported for numbers like 420, 421, and 983

Likely did not use brackets somewhere so you got an error from an expression like x^y^z (which should be written as x^{y^z} or x^{y^{z}}). Or -7e^{\pi i}^2 should be -7e^{{\pi i}^2} or {-7e^{\pi i}}^2 depending on what we need

Choose level or course

Allow users to choose different levels or math courses for the types of math expression

Surround trig, exponent, log expressions with parentheses

  • Make it more clear that exponents are being applied to the entire log versus the contents of the log, possibly by adding a set of brackets or parentheses that encompass the entire log.
  • when 1 is replaced by cos^2(x)+sin^2(x), put parentheses around it
  • Trig and log functions are functions. Their arguments deserve to be protected by parens.
  • The bracketing style (lim expr) is better than lim (expr)

Integrals!

Wow this is a really cool project. Would be awesome if it would incorporate crazy integrals aswell!

Shorten some code blocks

For example,

if (n % 2 !== 0) {
        return true;
      } else {
        return false;
      }

should become:

return n % 2 !== 0

Add a complexity meter or slider

  • Like from 1 to 10 how complex the equation should be. Then you would have to add things like 2=(8-2)/6+1 for the easy ones and so on.
  • set up a slider for a level of difficulty, like from grades In high school to graduate college. That way, people can grow the difficulty slowly, and they would have a clear goal on how hard it is to complete each level
  • If there is a selectable grade level list it could have fun uses in rpg gaming for prop creation based in reality. Or practicing working through problems.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.