Code Monkey home page Code Monkey logo

arithmetica-tui's Introduction

arithmetica-tui

A command-line wrapper for the arithmetica library.

Installation

To install the latest stable version, run:

curl -s -H "Accept: application/vnd.github.v3.raw" https://api.github.com/repos/arithmetica-org/arithmetica-tui/contents/install_stable.sh | sudo bash

If you want to install the bleeding edge version, run:

curl -s -H "Accept: application/vnd.github.v3.raw" https://api.github.com/repos/arithmetica-org/arithmetica-tui/contents/install_bleeding_edge.sh | sudo bash

Features

๐Ÿ”ด For a good demonstration, go visit this tool's website here! ๐Ÿ”ด

Feature Description Steps
Factorization Factorize any single variable polynomial. โœ…
Evaluation Evaluate any arithmetic expression. โœ…
Addition Add two numbers. โœ…
Multiplication Multiply two numbers. โœ…
Division Divide two numbers. โœ…
Trigonometric Functions Compute the value of any non-hyperbolic trigonometric function. โŒ
Square Root Compute the square root of any number. โŒ
Exponentiation Compute the value of any exponentiation expression. โŒ
Logarithms Compute the logarithm of any number with any base. โŒ
Factorial Compute the factorial of any number. โŒ
Continued Fractions Compute the continued fraction of any number. โŒ
Greatest Common Divisor Compute the GCD of any two numbers. โŒ
Least Common Multiple Compute the LCM of any two numbers. โŒ

Factorize polynomials (with steps and without)

Arithmetica can currently factorize any degree single variable polynomials!

With steps

See step-by-step instructions on how to factor the polynomial of your choice.

Just the answer

Or just get to the answer.

Evaluate expressions

Arithmetica can also evaluate expressions:

Add / Multiply with steps

And if you ever need to add or multiply something 'by hand' again, arithmetica can help with that too!

arithmetica-tui's People

Contributors

avighnac avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

Forkers

aaravmalani

arithmetica-tui's Issues

Cannot factor `x^2-2x-3`.

arithmetica 0.4.1
https://github.com/arithmetica-org/arithmetica-tui

arithmetica supports showing working with steps (disabled by default), toggle this by typing "showsteps".

To get started, type help.
arithmetica> factor x^2-2x-3

==> x^2 - 2x - 3

arithmetica>

`factor` - `x^2-4` crashes the program

avighna@avighna-IdeaPad-5-14ITL05:~$ arithmetica
arithmetica alpha (31 commits after 0.4.0)
This version was automatically compiled and released by GitHub Actions. Due to its bleeding edge nature, some features might be unstable.

https://github.com/arithmetica-org/arithmetica-tui

arithmetica supports showing working with steps (disabled by default), toggle this by typing "showsteps".

To get started, type help.
If you don't like reading helps, type quickstart instead.
arithmetica> factor x^2-4
free(): invalid next size (fast)
Aborted (core dumped)
avighna@avighna-IdeaPad-5-14ITL05:~$ 

Unexpected crashes while using `add` and `mul`

Trying to add expressions with spaces (say add a + b a - b) crashes the program, with similar behaviour observed for mul.

Also, something like mul (a + b) (a - b) doesn't work (crashes the program again).

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.