nus-cs2113-AY2223S2 / pe-dev-response

0 stars 0 forks source link

Inconsistent Equation Formatting for `Graph` and `Quadratic` #603

Open nus-pe-bot opened 1 year ago

nus-pe-bot commented 1 year ago

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 and Quadratic features to be the same.

Unfortunately,

  1. Graph requires coefficients to be suffixed with '*', while this is not necessary for Quadratic.
  2. Graph requires no padding, while Quadratic enforces a space between each term

Consider these 2 commands.

  1. Graph 1*sin(2*x+1)-1.
  2. 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.


[original: nus-cs2113-AY2223S2/pe-interim#801] [original labels: severity.Medium type.FeatureFlaw]

YC-Michael commented 1 year ago

Team's Response

Thank you for your response. We will consider implementing it in future versions.

Duplicate status (if any):

--