Skip to content

[priority] parse 3x/5 as 3x / 5 instead of 3 x/5 #71

@evykassirer

Description

@evykassirer

Parse 3x/5 as 3x / 5 instead of 3 x/5. It makes more sense to me and is what mathjs doe (pretty sure).

Spacing matters though - 3 x/5 should stay a multiplication between a 3 and x/5. I think this applies to any implicit multiplication? e.g. (2x+3)(3x+5)/2x would be (2x+3)(3x+5) / 2x - but we didn't decide on that earlier so feel free to debate that.

Aside: this was an interesting thing to me because I wonder how a brain interprets 3x/5 when it reads it. The way it's parsed affects how it's displayed to the user as well as the mathsteps algorithm so it really is part of the teaching too. I wonder how most brains interpret 3x/5? My guess is 3x / 5 though.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions