Skip to content

kritma/test_task

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Api for solving equations


build and run

./start.sh 5 #number of workers

test

Request

POST http://localhost:8080/calc

{
    "equations": ["a*x^2+b*x=y"],
    "variables": ["x"]
}

Response

{
    "data": {
        "result": {
            "x": [
                "(1/2)*(-b+sqrt(4*a*y+b^2))*a^(-1)",
                "(1/2)*(-b-sqrt(4*a*y+b^2))*a^(-1)"
            ]
        }
    }
}

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published