Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

239
Views
Transform a user input ecuation into an executable ecuation

I want to make an web page that solve a various ecuations (Linear or non-linear), so i have to make a function that gets a user input ecuation and transform it into an executable one . For exemple i have: <input type="text" id="ecuation">

and I get the value of this input:

const ecuation = document.querySelector("#ecuation");
let ecutionValue;
ecuation.addEventListener("input" , function(){
    ecuationValue = ecuation.value;
})

Now i want this to be transformed into an ecuation that can be used in a function , or to introduse it into a function.

For example like this:

function ecuation() {
   return //here must be returned the ecuation that user will enter on input
}
about 4 years ago · Juan Pablo Isaza
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!