LaTeX JS

Convert latex math notation to functions in Javascript!

Algorithmia Platform License

Try the API

{
  "func": "(n,α,β)=>{q=1;for(i=1;i<=n;i+=1){q*=(Math.asin(α)*Math.sin(β))/(Math.sqrt(α*β))};return q};",
  "params": [
    "n",
    "α",
    "β"
  ]
}

Install & Use

Use

curl -X POST -d '"\\prod_{i=1}^{n}\\frac{\\arcsin{\\alpha}*\\sin{\\beta}}{\\sqrt{\\alpha*\\beta}}"' -H 'Content-Type: application/json' -H 'Authorization: Simple YOUR_API_KEY' https://api.algorithmia.com/v1/algo/Jeffro/latexjs/0.1.1