Skip to content

Latest commit

 

History

History
47 lines (34 loc) · 760 Bytes

README.md

File metadata and controls

47 lines (34 loc) · 760 Bytes

Math Facebook bot

This is a chat bot for math calculator on facebook

Installation

clone this repo

cd into the directory

run npm install

Configure

config config.js file

var fb_email =  "your_email"
var fb_password = "your_password"

Usage

start server :

npm start

Features

2+2                  // 4
1+12-60/2            // -17
round 3              // 2.718
atantwo(3, -3)       // 0.75   (ATAN2(3,-3)/math.pi )
log(10000, 10)       // 4
sqrt(-4)             // 2i

result :

image of docs

Todo

  • Add Math.pow
  • Add Math.derivative

Module and API