As a new user who is learning how to use the app and a fast typer, I would expect that the mathematical syntax for the Graph and Quadratic features to be the same.
Unfortunately,
Graph requires coefficients to be suffixed with '*', while this is not necessary for Quadratic.
Graph requires no padding, while Quadratic enforces a space between each term
Consider these 2 commands.
Graph 1*sin(2*x+1)-1.
Quadratic 5x^2 + 2x - 1
These are very different syntaxes. This is frustrating as a user as the mathematical syntax changes lower down my typing speed and force me to context switch and re-refer to the user guide, making for a bad user experience.
It would be great if the syntax was standardized and intuitive like the usual tools one would use for math, like Desmos or Matlab. This would make the product much more cohesive.
Description
As a new user who is learning how to use the app and a fast typer, I would expect that the mathematical syntax for the
Graph
andQuadratic
features to be the same.Unfortunately,
Graph
requires coefficients to be suffixed with '*', while this is not necessary forQuadratic
.Graph
requires no padding, whileQuadratic
enforces a space between each termConsider these 2 commands.
Graph 1*sin(2*x+1)-1
.Quadratic 5x^2 + 2x - 1
These are very different syntaxes. This is frustrating as a user as the mathematical syntax changes lower down my typing speed and force me to context switch and re-refer to the user guide, making for a bad user experience.
It would be great if the syntax was standardized and intuitive like the usual tools one would use for math, like
Desmos
orMatlab
. This would make the product much more cohesive.[original: nus-cs2113-AY2223S2/pe-interim#801] [original labels: severity.Medium type.FeatureFlaw]