-
Notifications
You must be signed in to change notification settings - Fork 80
Home
This is a quick guide for getting started with VisMa (Visual Math). To dive deeper into any specific topic, refer the respective page from the sidebar.
VISualMAth is an equation solver and visualizer, which aims to help in grasping how mathematical equations are transformed and solved. By this, the threshold for obtaining deeper mathematical understanding can be reduced. The project aims to help people solve complex problems and learn. It can help students in learning concepts. It can be used as a simple day-to-day calculator or for double-checking the solution to problems.
NOTE: VISualMAth is supported for python3 and above only. The recommended installation method is through pip. Make sure to check if the pip exists in the python3 library by checking the pip version.
$ pip --version
- To install do
$ pip install visualmath
- For launching visma do
$ visma
- For Windows users or if the above launching option is not available or if you wish use visma CLI follow below steps, from here you will be redirected to VisMa interactive shell, which can be used to open GUI or CLI
$ python3
>>> from visma.main import init
>>> init()
Welcome! This is Visual Maths Interactive Shell...
type 'help' for a User Manual and Ctrl + D to Exit prompt
>>> simplify(2 + x + 11)
INPUT: 2.0 + x + 11.0
OPERATION: simplify
OUTPUT: 13.0 + x
2.0 + x + 11.0
(Adding 11.0 and 2.0)
13.0 + x
>>>
[5]+ Stopped python3
For other installation, methods check out the install guide.
Currently, VisMa supports:
- Simplify -- You can either choose to step by step perform each of the sub-function i.e. addition, subtraction, multiplication and division or choose to simplify the whole expression/equation at once.
- Find roots -- You can find roots for a quadratic equation.
- Factorize -- You can factorize a given polynomial.
- Solve -- This feature will allow you to derive the equation for a variable from a given equation. e.g. from x + y = 1, we can get x = 1 - y or y = 1 - x. This feature can also be used to solve the simultaneous equations involving three variables (eg. a1x + b1y + c1z = d1, a2x + b2y + c2z = d2 and a3x + b3y + c3z = d3)
- Integration -- This feature will allow you to integrate an expression.
- Differentiation -- This feature will allow you to differentiate an expression wrt the selected variable.
- Plot -- This feature will allow you to get an interactive 2D or 3D graph, with the equation of line or plane plotted on it, for better visualisation.
Below is quick-demo of how to use visma.
For contributing to visma refer the Developer Manual. If there are any issues or ideas they can be addressed through the issues or in chat room.
If visma is to be installed for development:
- Download the source zip and extract.
- For installing dependencies, from source folder do
$ pip install -r requirements.txt
- For launching do
$ python main.py