Muqsit / Muqsit/arithmexp

Add support for Solver Equations

Open
#12 0 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement help wanted
Dominant language
PHP
Stars
26
Forks
2
PR merge metrics
No merged PRs in 30d

Description

Supports solving equations like:

  • Simul Equation
    • 2 Unknowns
    • 3 Unknowns
    • 4 Unknowns
    • n Unknowns
  • Polynomial
    • $ax^2 + bx + c$
    • $ax^3 + bx^2 + cx + d$
    • $ax^4 + bx^3 + cx^2 + dx + e$
    • $a_n x^n + a_{n-1}x + a_{n-2}x^{n-2} + \dots + a_1x^1 + a_0$
  • Equation (Find values of variable)

Maybe this feature is not suitable for your library but it would be nice if it was added.
I found a similar library for this feature but it seems to be no longer maintained.
https://github.com/Samshal/Equation-Solver

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

No file, test, or entry point is named; start by reviewing the PHP expression parser and evaluator described by the repository. Define the scope for simultaneous, polynomial, and variable-solving equations, then verify that each listed equation form is supported and covered by tests.

Written by the indexing model from the issue text.

Assessment

Tech stack
php
Domain
tooling
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.