Is your feature request related to a problem? Please describe.
The features is new in this codebase but a part of it is used in #1554
Describe the solution you'd like
This is like a command line.
You can either type a mathematical expression or an equation.
The algorithm will solve it for you just like the calculator
Describe alternatives you've considered
Although the calculator is used for these purposes but it cannot be used in programming.
A specific algorithm is needed.
In case of Python you can consider using eval() for this.
In case of Java you can call javascript engine and can use the power DOM for calculations.
Additional context
Working :-
The Expression Evaluator will first remove the spaces and replace x variable in case of equation
Then it will solve by brackets starting from the inner most brackets.
BODMAS is followed.
The result is then calculated.
Limitations :-
Single variable
The expression / equation should be in format of
cases like 5*-2 will not be evaluated since it is not following the 2.
Is your feature request related to a problem? Please describe. The features is new in this codebase but a part of it is used in #1554
Describe the solution you'd like This is like a command line. You can either type a mathematical expression or an equation. The algorithm will solve it for you just like the calculator
Describe alternatives you've considered Although the calculator is used for these purposes but it cannot be used in programming. A specific algorithm is needed.
In case of Python you can consider using eval() for this. In case of Java you can call javascript engine and can use the power DOM for calculations.
Additional context Working :-
Limitations :-
Kindly assign this issue to me