sarah calc

sarah calc is a simple calculator plugin for the famous sarah discord bot, which given any mathematical formula replies with its result. Why don’t you try running the following expressions?:

  • rationalize(a/b+b/a)
  • factor(100!)
  • simplify(cos(x)^2 + sin(x)^2)
  • roots(x^4 + x^3 + x^2 + x + 1)

You can install the sarah calc command in your bot by running its addcmd.js module:

$ node addcmd.js dottedco sarahmath


View Github