FireCalc — your personal math assistant in Telegram!
FlarosoftFireCalc — Telegram bot that performs calculations: addition, subtraction, multiplication, division, exponentiation, factorial, remainder, logarithms, roots, trigonometry. Generates random numbers, solves equations, converts quantities (length, mass, temperature, currency), builds graphs. Suitable for students, programmers, scientists and anyone who often uses mathematics.
Full list of available commands
1. /start - Start the bot and select the language.
2. /help - Show this help message.
3. solve <equation> - Solve a mathematical equation. Example: solve x^2 - 5 * x + 6 = 0
4. plot <function>, <x_min>, <x_max> - Plot a function on a given interval. Example: plot x**3,-14,134
5. random <min>, <max> - Generate a random number between min and max. Example: random 1, 100
6. convert_currency <amount> <from_currency> <to_currency> - Convert currencies. Example: convert_currency 100 USD EUR. Note: this function does not work yet, but the developer is already fixing this bug.
7. kg_to_lb <kg> - Convert kilograms to pounds. Example: kg_to_lb(50)
8. lb_to_kg <pounds> - Convert pounds to kilograms. Example: lb_to_kg(110)
9. c_to_f <c> - Convert Celsius to Fahrenheit. Example: c_to_f(25)
10. f_to_c <f> - Convert Fahrenheit to Celsius. Example: f_to_c(77)
11. c_to_k <c> - Convert Celsius to Kelvin. Example: c_to_k(25)
12. k_to_c <k> - Convert Kelvin to Celsius. Example: k_to_c(298)
13. exp(x) - returns e to the power of x. Example: exp(2)
14. expm1(x) - returns e^x - 1, more precisely for small x. Example: expm1(0.0001)
15. fabs(x) - returns the absolute value of x. Example: fabs(-5.3)
16. factorial(x) - returns the factorial of x. Example: factorial(5)
17. floor(x) - rounds x down to the nearest whole number. Example: floor(4.7)
18. fmod(x, y) - the remainder of x divided by y. Example: fmod(10, 3)
19. frexp(x) - returns the mantissa and exponent of x. Example: frexp(8)
20. fsum(iterable) - the exact sum of all elements of iterable. Example: fsum([1.1, 2.2, 3.3])
21. gamma(x) - returns the gamma function of x. Example: gamma(5)
22. gcd(x, y) - returns the greatest common divisor of x and y. Example: gcd(24, 36)
23. hypot(x, y) - length of the hypotenuse of x and y. Example: hypot(3, 4)
24. isclose(a, b, *, rel_tol=1e-9, abs_tol=0.0) - checks if a and b are close. Example: isclose(1.0000001, 1.0000002)
25. isfinite(x) - checks if x is a finite number. Example: isfinite(1.0)
26. isinf(x) - checks if x is infinity. Example: isinf(float('inf'))
27. isnan(x) - checks if x is NaN. Example: isnan(float('nan'))
28. ldexp(x, i) - x * (2 ** i), the inverse operation of frexp. Example: ldexp(0.5, 2)
29. lgamma(x) - the natural logarithm of the gamma function of x. Example: lgamma(5)
30. log(x[, base]) - the logarithm of x to the base base (default e). Example: log(8, 2)
31. log1p(x) - the logarithm of (1 + x), more precisely for small x. Example: log1p(0.0001)
32. log2(x) - logarithm of x to base 2. Example: log2(8)
33. log10(x) - logarithm of x to base 10. Example: log10(1000)
34. modf(x) - returns the fractional and integer parts of x. Example: modf(3.14)
35. nextafter(x, y) - the closest number to x in the y direction. Example: nextafter(1.0, 2.0)
36. perm(n, k=None) - the number of placements from n to k. Example: perm(5, 3)
37. pow(x, y) - x to the y power. Example: pow(2, 3)
38. prod(iterable, *, start=1) - the product of all elements of iterable. Example: prod([1, 2, 3])
39. radians(x) - converts degrees to radians. Example: radians(180)
40. remainder(x, y) - IEEE 754 remainder of x divided by y. Example: remainder(5, 3)
41. sin(x) - sine of x (in radians). Example: sin(pi / 2)
42. sinh(x) - hyperbolic sine of x. Example: sinh(1)
43. sqrt(x) - square root of x. Example: sqrt(16)
44. tan(x) - tangent of x (in radians). Example: tan(pi / 4)
45. tanh(x) - hyperbolic tangent of x. Example: tanh(1)
46. trunc(x) - truncates the fractional part of x. Example: trunc(4.7)
Note: Use simple mathematical expressions, such as 2 + 3 * 5 or 10 / 2 for calculations.
Bot — https://t.me/FireCalcTG_bot
Subscribe to the developer's Telegram channel and follow the news about this bot and others: https://t.me/flarosoftdev