SolveKaro – Math solver chatbot


SolveKaro – The chatbot that does Math calculations
As featured on VentureBeat
We are available on Skype, Telegram, Kik and Facebook Messenger. Links:-
Facebook Messenger

Hello World! I am RedOwl – the brain behind SolveKaro. You can come to this webpage if you say “help” on our chatbot and follow the subsequent link. I can do a lot of fancy Math stuff. But lets first quickly know the tasks that –

I can NOT Do
1) Natural language tasks
Example I do not understand, “what is two plus three”, instead just type “2 +3” (without the quotes) and hit enter. I am not good at spelling. Besides you are not gonna type that big English sentence when you can just say “2+3”, Right?
Note: I can answer only the below english language commands.
what is your name
who are you
how are you

2) I can not do linear equations with more than 1 variable. I can only understand linear equations using basic arithmetic operations (+, -, /, *, ^).
Use only these symbols:
+ for addition, – for subtraction, / for division, * for multiplication, ^ for exponent and ! for factorial.
Also note % is a symbol for modulus or remainder.
(Please do not use X for multiplication symbol, use the star * instead)

I will not understand trigonometry, log or other functions in an equation.Also I can not understand if the variable name is anything other than “x”.
So I cannot solve y + 5 = 8, but I can solve x + 5 = 8
We will add and improve this functionality in future.
3) I cannot do equations of degree greater than 3. This means I can only solve quadratic and cubic equations in one variable “x”. For example, I cannot solve x^4 = 1
4) I cannot handle any voice, video or image attachments as input.
5) I cannot understand any symbol that you can not find on a regular QWERTY keyboard.
6) I cannot plot graphs. Not a graph plotter yet ;-(
7) Permutations, Combinations are too heavy for me in this version and will be added later.

I CAN DO below tasks:-
1) Calculator functions – I do whatever your calculator can and maybe much more. Some examples:
25/5 + 2 will give the answer as 7
5 – -5 will give the answer as 10 (subtract a negative number)
5 + 4(2+3) will give the answer as 25 (PEDMAS)
4^2 will give the answer as 16 (exponent)
5! will give answer as 120 (factorial)
Just type in your problem without any text or quotes. For example if you want to add the numbers 10,20,25 and 33. Just type the below in the chat text box and click enter
10 + 20 + 25 + 33
The blanks are ignored.

2) Trigonometry functions
sin(45 deg) will give the answer as 0.70710678118655
sin(pi/2) will give the answer as 1
atan(1) will give the answer as 0.78539816339745 (the inverse is in radians)
Note that the default is radians. Write the name of the function followed by the value that you need to find within parenthesis.
For example if you need cosine of 45 degrees, then type
cos(45 deg)
If you need tangent of pi/4, then type
For inverse, prefix with “a”. For example if you need tan inverse of 1, then type

3) Logarithmic functions
log(e) will give the answer as 1
log(100,10) will give the answer as 2
Skype users may need to include spaces to avoid the auto emoticon conversion by Skype
Thus, instead of typing log(e) enter it as log( e ) (Note the spaces)

Note the default base is the natural “e”. Specify the keyword log followed by the value in brackets. log(value,base). Base need not be specified in case of natural log values.

4) Determinants
det([-1, 2; 3, 1]) will give the answer as -7
keyword det followed by the square matrix in parenthesis.The matrix elements are entered row-wise. The individual column elements are separated by comma “,”. After every row use a semicolon “;” to separate the rows. The format is:
where r stands for row number and c for column number of the element

5) Linear equation in x
x + 5 = 8 will give answer as x = 3
8x + 1 = 9 will give answer as x = 1
Note you can only use “x” as the variable name and I can solve only a linear equation in 1 variable. The equation must have a left hand side and a right hand side separated by an equal to “=” sign.The format is:
mx + k = n
where m, k and n are numeric constants (real numbers) and x is the variable that needs solution

6) Squares, Cubes, Square Roots and Exponents
sqrt(4) will find the square root of 4 and answer will be 2
square(3) will give the answer as 9
cube(3) will give the answer as 27

For other exponents and roots use the ^ function
4^(1/2) is same as sqrt(4) and the answer will be 2
4^0.5 is same as sqrt(4) and the answer will be 2
27^(1/3) finds the cube root of 27 and the answer will be 2
2^4 will give the answer as 16

7) Quadratic equation in x
x^2 – 2x + 1 = 0 will give answer as x = 1
Note you can only use “x” as the variable name. The equation must have a left hand side and a right hand side separated by an equal to “=” sign. The format is
ax^2 + bx + c = d
where a,b, c and d are numeric constants (real numbers) and x is the variable that needs solution.

8) Cubic equation in x
x^3 + 9x^2 + 26x + 24 = 0 will give answer as x = -4,-3, -2
Note you can only use “x” as the variable name. The equation must have a left hand side and a right hand side separated by an equal to “=” sign. The format is
ax^3 + bx^2 + cx + d = e
where a,b, c, d and e are numeric constants (real numbers) and x is the variable that needs solution.

9) Basic complex number calculations
(3+2i)(3-2i) will give answer as 13 (Multiply complex numbers)
(9+2i) / i will give answer as 2 – 9i (Divide complex numbers)
5 + 6i – 3 will give answer as 2 + 6i (Add/Subtract complex numbers)

A complex number should be of the format
where a & b are real numbers and i is the notation for √(-1)

10) Linear Expressions
Please equate your variable expressions to x to simplify them.

As an example, if you need to simplify an expression a+a+a+2b-b then enter it as:-
x = a+a+a+2b-b to get the answer as x = 3a + b

Note: Equate your expressions only to x and no other variable. Hence if your expression itself has an x then substitute it with another variable before typing it in. Also note that any radicals or exponents will be resolved and mathematically evaluated.

11) Convert units
2 inch to cm will give the answer as 5.08 cm
90 km/h to m/s will give the answer as 25 m/s
460V * 20A * 30days to kWh will give the answer as 6624 kWh
9.81 m/s^2 * 100 kg * 40 m will give the answer as 10.9 Wh
0 degC to degF will give the answer as 32 degF
0.78539816339745 rad to deg will give the answer as 45 deg (radians to degree)

Just type in
x unit1 to unit2 (For example 2 inch to cm)
where x is the value “2”, unit1 is the name of the unit “inch” and unit2 is “cm”
You can also do physics (example electric power consumption) calculations using various units. Refer some examples above.
Note: There could be issues in some cases when simultaneous evaluation of an expression combined with unit conversion fails. An example that will not work is:-
a(tan1) rad to deg – The tan inverse will return a value in radians and conversion to degree will fail if combined with it. In such cases, the best way will be to split into a two part process, First find
and then use the answer to convert to degrees
0.78539816339745 rad to deg

The following units are supported

Base Unit
Length meter (m), inch (in), foot (ft), yard (yd), mile (mi), link (li), rod (rd), chain (ch), angstrom, mil
Surface area m2, sqin, sqft, sqyd, sqmi, sqrd, sqch, sqmil, acre, hectare
Volume m3, litre (l, L, lt, liter), cc, cuin, cuft, cuyd, teaspoon, tablespoon
Liquid volume minim (min), fluiddram (fldr), fluidounce (floz), gill (gi), cup (cp), pint (pt), quart (qt), gallon (gal), beerbarrel (bbl), oilbarrel (obl), hogshead, drop (gtt)
Angles rad (radian), deg (degree), grad (gradian), cycle, arcsec (arcsecond), arcmin (arcminute)
Time second (s, secs, seconds), minute (mins, minutes), hour (h, hr, hrs, hours), day (days), week (weeks), month (months), year (years), decade (decades), century (centuries), millennium (millennia)
Frequency hertz (Hz)
Mass gram(g), tonne, ton, grain (gr), dram (dr), ounce (oz), poundmass (lbm, lb, lbs), hundredweight (cwt), stick, stone
Electric current ampere (A)
Temperature kelvin (K), celsius (degC), fahrenheit (degF), rankine (degR)
Amount of substance mole (mol)
Luminous intensity candela (cd)
Force newton (N), dyne (dyn), poundforce (lbf), kip
Energy joule (J), erg, Wh, BTU, electronvolt (eV)
Power watt (W), hp
Pressure Pa, psi, atm, torr, bar, mmHg, mmH2O, cmH2O
Electricity and magnetism ampere (A), coulomb (C), watt (W), volt (V), ohm, farad (F), weber (Wb), tesla (T), henry (H), siemens (S), electronvolt (eV)
Binary bit (b), byte (B)


The following binary prefixes are available.
They can be used with units bit (b) and byte (B).

Name Abbreviation Value
kibi Ki 1024
mebi Mi 1024^2
gibi Gi 1024^3
tebi Ti 1024^4
pebi Pi 1024^5
exi Ei 1024^6
zebi Zi 1024^7
yobi Yi 1024^8
Name Abbreviation Value
kilo k 1e3
mega M 1e6
giga G 1e9
tera T 1e12
peta P 1e15
exa E 1e18
zetta Z 1e21
yotta Y 1e24

Physical Constants #

The following physical constants are included. See Wikipedia for more information.

Universal constants #

Name Symbol Value Unit
speedOfLight c 299792458 m · s-1
pi 3.1415926535898
gravitationConstant G 6.6738480e-11 m3 · kg-1 · s-2
planckConstant h 6.626069311e-34 J · s
reducedPlanckConstant h 1.05457172647e-34 J · s

Electromagnetic constants #

Name Symbol Value Unit
magneticConstant μ0 1.2566370614e-6 N · A-2
electricConstant ε0 8.854187817e-12 F · m-1
vacuumImpedance Z0 376.730313461 Ω
coulomb κ 8.9875517873681764e9 N · m2 · C-2
elementaryCharge e 1.60217656535e-19 C
bohrMagneton μB 9.2740096820e-24 J · T-1
conductanceQuantum G0 7.748091734625e-5 S
inverseConductanceQuantum G0-1 12906.403721742 Ω
magneticFluxQuantum f0 2.06783375846e-15 Wb
nuclearMagneton μN 5.0507835311e-27 J · T-1
klitzing RK 25812.807443484 Ω

Atomic and nuclear constants #

Name Symbol Value Unit
bohrRadius a0 5.291772109217e-11 m
classicalElectronRadius re 2.817940326727e-15 m
electronMass me 9.1093829140e-31 kg
fermiCoupling GF 1.1663645e-5 GeV-2
fineStructure α 7.297352569824e-3
hartreeEnergy Eh 4.3597443419e-18 J
protonMass mp 1.67262177774e-27 kg
deuteronMass md 3.3435830926e-27 kg
neutronMass mn 1.6749271613e-27 kg
quantumOfCirculation h / (2me) 3.636947552024e-4 m2 · s-1
rydberg R 10973731.56853955 m-1
thomsonCrossSection 6.65245873413e-29 m2
weakMixingAngle 0.222321
efimovFactor 22.7

Physico-chemical constants #

Name Symbol Value Unit
atomicMass mu 1.66053892173e-27 kg
avogadro NA 6.0221412927e23 mol-1
boltzmann k 1.380648813e-23 J · K-1
faraday F 96485.336521 C · mol-1
firstRadiation c1 3.7417715317e-16 W · m2
loschmidt n0 2.686780524e25 m-3
gasConstant R 8.314462175 J · K-1 · mol-1
molarPlanckConstant NA · h 3.990312717628e-10 J · s · mol-1
molarVolume Vm 2.241396820e-10 m3 · mol-1
sackurTetrode -1.164870823
secondRadiation c2 1.438777013e-2 m · K
stefanBoltzmann σ 5.67037321e-8 W · m-2 · K-4
wienDisplacement b 2.897772126e-3 m · K

Note that the values of loschmidt and molarVolume are at T = 273.15 K and p = 101.325 kPa.
The value of sackurTetrode is at T = 1 K and p = 101.325 kPa.

Adopted values #

Name Symbol Value Unit
molarMass Mu 1e-3 kg · mol-1
molarMassC12 M(12C) 1.2e-2 kg · mol-1
gravity gn 9.80665 m · s-2
atm atm 101325 Pa

Natural units #

Name Symbol Value Unit
planckLength lP 1.61619997e-35 m
planckMass mP 2.1765113e-8 kg
planckTime tP 5.3910632e-44 s
planckCharge qP 1.87554595641e-18 C
planckTemperature TP 1.41683385e+32 K
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){ (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o), m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m) })(window,document,'script','//','ga'); ga('create', 'UA-42397456-1', ''); ga('send', 'pageview');